summaryrefslogtreecommitdiffstats
path: root/install/ui/netgroup.js
diff options
context:
space:
mode:
Diffstat (limited to 'install/ui/netgroup.js')
-rw-r--r--install/ui/netgroup.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/install/ui/netgroup.js b/install/ui/netgroup.js
index 20567351..05200843 100644
--- a/install/ui/netgroup.js
+++ b/install/ui/netgroup.js
@@ -22,7 +22,7 @@
/* REQUIRES: ipa.js, details.js, search.js, add.js, entity.js */
-IPA.add_entity( function() {
+IPA.entity_factories.netgroup = function() {
var that = IPA.entity({
'name': 'netgroup'
});
@@ -55,13 +55,12 @@ 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;
-}());
+};