feat: change user search to use filters array

This commit is contained in:
Barış Soner Uşaklı
2020-10-13 20:37:38 -04:00
parent 959314c921
commit a2edb86dfb
8 changed files with 86 additions and 62 deletions

View File

@@ -37,7 +37,7 @@ define('forum/topic/change-owner', [
changeOwner();
});
autocomplete.user(modal.find('#username'), { notBanned: true }, function (ev, ui) {
autocomplete.user(modal.find('#username'), { filters: ['notbanned'] }, function (ev, ui) {
toUid = ui.item.user.uid;
checkButtonEnable();
});