summaryrefslogtreecommitdiffstats
path: root/install/static/hbac.js
diff options
context:
space:
mode:
Diffstat (limited to 'install/static/hbac.js')
-rwxr-xr-xinstall/static/hbac.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/install/static/hbac.js b/install/static/hbac.js
index d5105bace..0b642aec5 100755
--- a/install/static/hbac.js
+++ b/install/static/hbac.js
@@ -63,23 +63,21 @@ function ipa_hbac_add_dialog(spec) {
that.init = function() {
- that.add_dialog_init();
-
that.add_field(ipa_text_widget({
'name': 'cn',
- 'label': 'Rule Name',
'undo': false
}));
that.add_field(ipa_radio_widget({
'name': 'accessruletype',
- 'label': 'Rule type',
'options': [
{ 'value': 'allow', 'label': 'Allow' },
{ 'value': 'deny', 'label': 'Deny' }
],
'undo': false
}));
+
+ that.add_dialog_init();
};
return that;