diff options
author | Endi S. Dewata <edewata@redhat.com> | 2011-04-07 16:14:58 -0500 |
---|---|---|
committer | Endi Sukma Dewata <edewata@people01.fedoraproject.org> | 2011-04-11 16:03:37 +0000 |
commit | 689fd30b522c1bb77bb6e087bdfca940553fe495 (patch) | |
tree | 7a95153df1983c3384e4f0a3957723da5d73fad8 /install/ui/sudo.js | |
parent | f0f83a862eee908c308c25561a18f8b1e218c081 (diff) | |
download | freeipa-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/sudo.js')
-rw-r--r-- | install/ui/sudo.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/install/ui/sudo.js b/install/ui/sudo.js index 0f2e8491e..d0fe7528c 100644 --- a/install/ui/sudo.js +++ b/install/ui/sudo.js @@ -31,9 +31,10 @@ IPA.entity_factories.sudorule = function () { columns:['cn','description','cmdcategory'], add_fields:['cn'] }). - facet(IPA.sudorule_details_facet({ + facet({ + factory: IPA.sudorule_details_facet, 'name': 'details' - })). + }). build(); }; |