mirror of
https://github.com/moodle/moodle.git
synced 2025-08-10 03:16:42 +02:00
Merge branch 'MDL-81031-main' of https://github.com/andrewnicols/moodle
This commit is contained in:
commit
1504850f9f
861 changed files with 23655 additions and 8778 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -255,7 +255,7 @@ define(['jquery', 'core/notification', 'core/str', 'core/form-autocomplete',
|
|||
|
||||
var select = this._region.find('[data-action=change-user]');
|
||||
var currentUserID = select.data('currentuserid');
|
||||
this._updateFilterPreferences(currentUserID, this._filters, preferenceNames).done(function() {
|
||||
this._updateFilterPreferences(currentUserID, this._filters, preferenceNames).then(function() {
|
||||
// Reload the list of users to apply the new filters.
|
||||
if (!this._loadAllUsers()) {
|
||||
var userid = parseInt(select.attr('data-selected'));
|
||||
|
@ -274,7 +274,7 @@ define(['jquery', 'core/notification', 'core/str', 'core/form-autocomplete',
|
|||
}
|
||||
|
||||
}
|
||||
}.bind(this)).fail(notification.exception);
|
||||
}.bind(this)).catch(notification.exception);
|
||||
this._refreshCount();
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue