From fdee0892f12c98f5d03396c0d70e73d69b1a5ada Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Tue, 29 Nov 2011 13:34:59 +0100 Subject: Modifying groups to work with new concept https://fedorahosted.org/freeipa/ticket/2040 --- install/ui/group.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'install/ui/group.js') diff --git a/install/ui/group.js b/install/ui/group.js index c137a3d28..91e1af7f6 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(); -- cgit