From 689fd30b522c1bb77bb6e087bdfca940553fe495 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Thu, 7 Apr 2011 16:14:58 -0500 Subject: 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. --- install/ui/sudo.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'install/ui/sudo.js') diff --git a/install/ui/sudo.js b/install/ui/sudo.js index 0f2e8491..d0fe7528 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(); }; -- cgit