MDL-26989 fix incorrect disabling of assignable roles
This commit is contained in:
Vendored
+1
-1
@@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user