Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit ba32fc0042bbad0f1998cb84c1c70c664191e9dd 1 parent 408612d
@samhemelryk samhemelryk authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  enrol/yui/rolemanager/rolemanager.js
View
2  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);
Please sign in to comment.
Something went wrong with that request. Please try again.