diff options
author | Endi S. Dewata <edewata@redhat.com> | 2011-04-18 10:59:50 -0500 |
---|---|---|
committer | Endi Sukma Dewata <edewata@people01.fedoraproject.org> | 2011-04-21 19:43:54 +0000 |
commit | 3528b4eca3cf2519a6af5a43f6b321cbd8eea138 (patch) | |
tree | 8e0ae420440e45429057dd4747a5aaa80eb0d47a /install/ui/group.js | |
parent | bc6f9accd9250114b4f0c457fa5badd7f794af8e (diff) | |
download | freeipa-3528b4eca3cf2519a6af5a43f6b321cbd8eea138.tar.gz freeipa-3528b4eca3cf2519a6af5a43f6b321cbd8eea138.tar.xz freeipa-3528b4eca3cf2519a6af5a43f6b321cbd8eea138.zip |
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.
Diffstat (limited to 'install/ui/group.js')
-rw-r--r-- | install/ui/group.js | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/install/ui/group.js b/install/ui/group.js index fb07a8cb3..e4a037a50 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(); }; |