summaryrefslogtreecommitdiffstats
path: root/install/ui/hbac.js
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-04-07 16:14:58 -0500
committerEndi Sukma Dewata <edewata@people01.fedoraproject.org>2011-04-11 16:03:37 +0000
commit689fd30b522c1bb77bb6e087bdfca940553fe495 (patch)
tree7a95153df1983c3384e4f0a3957723da5d73fad8 /install/ui/hbac.js
parentf0f83a862eee908c308c25561a18f8b1e218c081 (diff)
downloadfreeipa-689fd30b522c1bb77bb6e087bdfca940553fe495.tar.gz
freeipa-689fd30b522c1bb77bb6e087bdfca940553fe495.tar.xz
freeipa-689fd30b522c1bb77bb6e087bdfca940553fe495.zip
Refactored builder interface.
The IPA.entity_builder has been modified to take a 'factory' parameter in custom facet's and custom dialog's spec. The IPA.dialog has been modified to take an array of fields in the spec. The IPA.search_facet has been modified to take an array of columns in the spec.
Diffstat (limited to 'install/ui/hbac.js')
-rw-r--r--install/ui/hbac.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/install/ui/hbac.js b/install/ui/hbac.js
index a0c353af3..fa824ab82 100644
--- a/install/ui/hbac.js
+++ b/install/ui/hbac.js
@@ -42,9 +42,10 @@ IPA.entity_factories.hbacrule = function () {
}],
'undo': false
}]}).
- facet(IPA.hbacrule_details_facet({
+ facet({
+ factory: IPA.hbacrule_details_facet,
'name': 'details'
- })).
+ }).
build();
};