Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

…/moodle into MOODLE_20_STABLE
  • Loading branch information...
commit d3796a2c61d01ee7007ccdda6a36b7fd71a50e99 2 parents ce8b66c + d099348
Sam Hemelryk authored March 28, 2011

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  enrol/yui/rolemanager/rolemanager.js
2  enrol/yui/rolemanager/rolemanager.js
@@ -391,7 +391,7 @@ YUI.add('moodle-enrol-rolemanager', function(Y) {
391 391
             }
392 392
             var node = null;
393 393
             for (var i in this.roles) {
394  
-                if (node = this.get('contentNode').one('#add_assignable_role_'+i)) {
  394
+                if (node = this.get('contentNode').one('#add_assignable_role_'+this.roles[i])) {
395 395
                     node.removeAttribute('disabled');
396 396
                 }
397 397
             }

0 notes on commit d3796a2

Please sign in to comment.
Something went wrong with that request. Please try again.