mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Modifying groups to work with new concept
https://fedorahosted.org/freeipa/ticket/2040
This commit is contained in:
committed by
Endi S. Dewata
parent
a902fa4647
commit
fdee0892f1
@@ -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();
|
||||
|
Reference in New Issue
Block a user