summaryrefslogtreecommitdiffstats
path: root/install/static/service.js
diff options
context:
space:
mode:
Diffstat (limited to 'install/static/service.js')
-rw-r--r--install/static/service.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/install/static/service.js b/install/static/service.js
index 6a79af07..f4179cb8 100644
--- a/install/static/service.js
+++ b/install/static/service.js
@@ -30,6 +30,12 @@ function ipa_service() {
that.init = function() {
+ that.create_association({
+ 'name': 'host',
+ 'add_method': 'add_host',
+ 'delete_method': 'remove_host'
+ });
+
var dialog = ipa_service_add_dialog({
'name': 'add',
'title': 'Add New Service'
@@ -54,12 +60,6 @@ function ipa_service() {
});
that.add_facet(facet);
- that.create_association({
- 'name': 'host',
- 'add_method': 'add_host',
- 'delete_method': 'remove_host'
- });
-
that.super_init();
};