summaryrefslogtreecommitdiffstats
path: root/install/static/sudocmdgroup.js
diff options
context:
space:
mode:
Diffstat (limited to 'install/static/sudocmdgroup.js')
-rwxr-xr-xinstall/static/sudocmdgroup.js8
1 files changed, 3 insertions, 5 deletions
diff --git a/install/static/sudocmdgroup.js b/install/static/sudocmdgroup.js
index 7941a5317..4188bc478 100755
--- a/install/static/sudocmdgroup.js
+++ b/install/static/sudocmdgroup.js
@@ -67,14 +67,12 @@ function ipa_sudocmdgroup_add_dialog(spec) {
var that = ipa_add_dialog(spec);
- that.superior_init = that.superior('init');
-
that.init = function() {
- that.superior_init();
+ that.add_field(ipa_text_widget({name:'cn', undo: false}));
+ that.add_field(ipa_text_widget({name:'description', undo: false}));
- that.add_field(ipa_text_widget({name:'cn', label:'Name', undo: false}));
- that.add_field(ipa_text_widget({name:'description', label:'Description', undo: false}));
+ that.add_dialog_init();
};
return that;