summaryrefslogtreecommitdiffstats
path: root/install/ui/hostgroup.js
diff options
context:
space:
mode:
Diffstat (limited to 'install/ui/hostgroup.js')
-rw-r--r--install/ui/hostgroup.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/install/ui/hostgroup.js b/install/ui/hostgroup.js
index 0525c05f2..b7d3e8d3c 100644
--- a/install/ui/hostgroup.js
+++ b/install/ui/hostgroup.js
@@ -23,7 +23,7 @@
/* REQUIRES: ipa.js, details.js, search.js, add.js, entity.js */
-IPA.add_entity( function() {
+IPA.entity_factories.hostgroup = function() {
var that = IPA.entity({
'name': 'hostgroup'
});
@@ -55,13 +55,11 @@ IPA.add_entity( function() {
dialog.add_field(IPA.text_widget({name: 'cn', undo: false}));
dialog.add_field(IPA.text_widget({name: 'description', undo: false}));
- dialog.init();
-
that.create_association_facets();
that.entity_init();
};
return that;
-}());
+};