diff options
author | Endi S. Dewata <edewata@redhat.com> | 2011-02-08 15:41:24 -0600 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2011-02-09 19:46:49 -0500 |
commit | 8d597dcbb03ca70a342f470e0229c9934f75cb16 (patch) | |
tree | 7311deb7976b677efba19d864e893d8406aebd0f /install/ui/host.js | |
parent | 25abf07360ea6824f3584edd847e080e6fdca981 (diff) | |
download | freeipa-8d597dcbb03ca70a342f470e0229c9934f75cb16.tar.gz freeipa-8d597dcbb03ca70a342f470e0229c9934f75cb16.tar.xz freeipa-8d597dcbb03ca70a342f470e0229c9934f75cb16.zip |
Moved add dialog into search facet.
Previously the add dialog is added into entity. The dialog is only
used by the search facet, so it's now moved into the search facet.
Diffstat (limited to 'install/ui/host.js')
-rw-r--r-- | install/ui/host.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/install/ui/host.js b/install/ui/host.js index f6af82cb1..86a5b820a 100644 --- a/install/ui/host.js +++ b/install/ui/host.js @@ -42,18 +42,18 @@ IPA.entity_factories.host = function () { 'associator': 'serial' }); - var dialog = IPA.host_add_dialog({ - 'name': 'add', - 'title': 'Add New Host' - }); - that.add_dialog(dialog); - var facet = IPA.host_search_facet({ 'name': 'search', 'label': 'Search' }); that.add_facet(facet); + var dialog = IPA.host_add_dialog({ + 'name': 'add', + 'title': 'Add New Host' + }); + facet.dialog(dialog); + facet = IPA.host_details_facet({ 'name': 'details' }); |