summaryrefslogtreecommitdiffstats
path: root/install/ui
diff options
context:
space:
mode:
Diffstat (limited to 'install/ui')
-rw-r--r--install/ui/group.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/install/ui/group.js b/install/ui/group.js
index c137a3d2..91e1af7f 100644
--- a/install/ui/group.js
+++ b/install/ui/group.js
@@ -151,16 +151,16 @@ IPA.group_adder_dialog = function(spec) {
var init = function() {
var posix_field = that.fields.get_field('nonposix');
- posix_field.value_changed.attach(that.on_posix_change);
+ posix_field.widget.value_changed.attach(that.on_posix_change);
};
that.on_posix_change = function (value) {
var gid_field = that.fields.get_field('gidnumber');
- if(value) {
+ if (value[0]) {
gid_field.reset();
}
- gid_field.set_enabled(!value);
+ gid_field.set_enabled(!value[0]);
};
init();