From 8d597dcbb03ca70a342f470e0229c9934f75cb16 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Tue, 8 Feb 2011 15:41:24 -0600 Subject: 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. --- install/ui/host.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'install/ui/host.js') diff --git a/install/ui/host.js b/install/ui/host.js index f6af82cb..86a5b820 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' }); -- cgit