fix: #8681 change owner modal's search should check if user is banned

This commit is contained in:
psychobunny
2020-09-25 14:47:22 -04:00
parent 611f3c6155
commit b6f2f0e5d0
3 changed files with 7 additions and 2 deletions

View File

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