summaryrefslogtreecommitdiffstats
path: root/install/ui/service.js
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-02-08 15:41:24 -0600
committerAdam Young <ayoung@redhat.com>2011-02-09 19:46:49 -0500
commit8d597dcbb03ca70a342f470e0229c9934f75cb16 (patch)
tree7311deb7976b677efba19d864e893d8406aebd0f /install/ui/service.js
parent25abf07360ea6824f3584edd847e080e6fdca981 (diff)
downloadfreeipa-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/service.js')
-rw-r--r--install/ui/service.js15
1 files changed, 8 insertions, 7 deletions
diff --git a/install/ui/service.js b/install/ui/service.js
index 360386a13..409aa5dfa 100644
--- a/install/ui/service.js
+++ b/install/ui/service.js
@@ -33,13 +33,14 @@ IPA.entity_factories.service = function () {
'add_method': 'add_host',
'remove_method': 'remove_host'
}).
- dialog(
- IPA.service_add_dialog({
- 'name': 'add',
- 'title': 'Add New Service'
- })).
- facet( IPA.search_facet().
- column({name:'krbprincipalname'})).
+ facet(
+ IPA.search_facet().
+ column({name: 'krbprincipalname'}).
+ dialog(
+ IPA.service_add_dialog({
+ 'name': 'add',
+ 'title': 'Add New Service'
+ }))).
facet( IPA.service_details_facet()).
facet( IPA.service_managedby_host_facet({
'name': 'managedby_host',