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/hostgroup.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/hostgroup.js')
-rw-r--r-- | install/ui/hostgroup.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/install/ui/hostgroup.js b/install/ui/hostgroup.js index a1b5ede2..31f4c525 100644 --- a/install/ui/hostgroup.js +++ b/install/ui/hostgroup.js @@ -27,8 +27,7 @@ IPA.entity_factories.hostgroup = function() { return IPA.entity_builder(). entity('hostgroup'). - search_facet({columns:['cn','description'], - add_fields:['cn','description']}). + search_facet({columns:['cn','description']}). details_facet({sections:[{ name:'identity', label: IPA.messages.objects.hostgroup.identity, @@ -39,6 +38,9 @@ IPA.entity_factories.hostgroup = function() { associator: IPA.serial_associator }). standard_association_facets(). + adder_dialog({ + fields:['cn','description'] + }). build(); }; |