From 3528b4eca3cf2519a6af5a43f6b321cbd8eea138 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Mon, 18 Apr 2011 10:59:50 -0500 Subject: Moved adder dialog box into entity. The adder dialog box definition has been moved from search facet into entity to make it accessible from other facets. --- install/ui/group.js | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) (limited to 'install/ui/group.js') diff --git a/install/ui/group.js b/install/ui/group.js index fb07a8cb..e4a037a5 100644 --- a/install/ui/group.js +++ b/install/ui/group.js @@ -29,18 +29,7 @@ IPA.entity_factories.group = function () { return IPA.entity_builder(). entity('group'). search_facet({ - columns:['cn','gidnumber','description'], - add_fields: [ - 'cn', - 'description', - { - factory:IPA.checkbox_widget, - name: 'posix', - label: IPA.messages.objects.group.posix, - undo: false, - checked: 'checked' - }, - 'gidnumber'] + columns:['cn','gidnumber','description'] }). details_facet({sections: [{ @@ -86,5 +75,18 @@ IPA.entity_factories.group = function () { associator: IPA.serial_associator }). standard_association_facets(). + adder_dialog({ + fields: [ + 'cn', + 'description', + { + factory:IPA.checkbox_widget, + name: 'posix', + label: IPA.messages.objects.group.posix, + undo: false, + checked: 'checked' + }, + 'gidnumber'] + }). build(); }; -- cgit