summaryrefslogtreecommitdiffstats
path: root/install/ui/group.js
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2011-11-29 13:34:59 +0100
committerEndi S. Dewata <edewata@redhat.com>2011-12-05 16:01:38 +0000
commitfdee0892f12c98f5d03396c0d70e73d69b1a5ada (patch)
treeae54592ce40519cf86a013e790ea1d352e24c777 /install/ui/group.js
parenta902fa4647dce1467729ba7cec1f4e3a4761dc5b (diff)
downloadfreeipa-fdee0892f12c98f5d03396c0d70e73d69b1a5ada.tar.gz
freeipa-fdee0892f12c98f5d03396c0d70e73d69b1a5ada.tar.xz
freeipa-fdee0892f12c98f5d03396c0d70e73d69b1a5ada.zip
Modifying groups to work with new concept
https://fedorahosted.org/freeipa/ticket/2040
Diffstat (limited to 'install/ui/group.js')
-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 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();