Permalink
Browse files

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

…/moodle into MOODLE_20_STABLE
  • Loading branch information...
2 parents ce8b66c + d099348 commit d3796a2c61d01ee7007ccdda6a36b7fd71a50e99 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 d3796a2

Please sign in to comment.