mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 04:33:13 +01:00
MDL-26989 fix incorrect disabling of assignable roles
This commit is contained in:
parent
92a387b467
commit
d099348e32
2
enrol/yui/rolemanager/rolemanager.js
vendored
2
enrol/yui/rolemanager/rolemanager.js
vendored
@ -391,7 +391,7 @@ YUI.add('moodle-enrol-rolemanager', function(Y) {
|
||||
}
|
||||
var node = null;
|
||||
for (var i in this.roles) {
|
||||
if (node = this.get('contentNode').one('#add_assignable_role_'+i)) {
|
||||
if (node = this.get('contentNode').one('#add_assignable_role_'+this.roles[i])) {
|
||||
node.removeAttribute('disabled');
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user