Permalink
Browse files

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

  • Loading branch information...
1 parent 408612d commit ba32fc0042bbad0f1998cb84c1c70c664191e9dd 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 ba32fc0

Please sign in to comment.