This commit is contained in:
Shamim Rezaie 2024-08-06 07:26:21 +10:00 committed by Jun Pataleta
commit 1504850f9f
No known key found for this signature in database
GPG key ID: F83510526D99E2C7
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

View file

@ -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();
};