Permalink
Browse files

enrolments MDL-26560 Fixed panel.user bug with role assignments dialogue

  • Loading branch information...
1 parent dae6b38 commit a1ead9a4787cf58d09a6de2115a629ccf0b24806 Sam Hemelryk committed Apr 4, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 enrol/yui/rolemanager/rolemanager.js
@@ -93,7 +93,7 @@ YUI.add('moodle-enrol-rolemanager', function(Y) {
if (o.error) {
new M.core.ajaxException(o);
} else {
- panel.user.addRoleToDisplay(args.roleid, this.get(ASSIGNABLEROLES)[args.roleid]);
+ this.users[userid].addRoleToDisplay(args.roleid, this.get(ASSIGNABLEROLES)[args.roleid]);
}
} catch (e) {
new M.core.exception(e);

0 comments on commit a1ead9a

Please sign in to comment.