Permalink
Browse files

Merge branch 'w13_MDL-26989_21_enrolroles' of git://github.com/skodak…

…/moodle
  • Loading branch information...
2 parents d2c4a97 + d099348 commit 982e619d2a3ba153a53841d6536cbba8c8104014 Sam Hemelryk committed Mar 28, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 enrol/yui/rolemanager/rolemanager.js
@@ -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');
}
}

0 comments on commit 982e619

Please sign in to comment.