mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
Merge branch 'wip-MDL-26560-master' of git://github.com/samhemelryk/moodle
This commit is contained in:
commit
21473e6cd7
2
enrol/yui/rolemanager/rolemanager.js
vendored
2
enrol/yui/rolemanager/rolemanager.js
vendored
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user