mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-18 21:42:55 +01:00
closes #6392
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
@import "./general/dashboard";
|
||||
@import "./general/navigation";
|
||||
@import "./manage/categories";
|
||||
@import "./manage/privileges";
|
||||
@import "./manage/tags";
|
||||
@import "./manage/groups";
|
||||
@import "./manage/registration";
|
||||
|
||||
7
public/less/admin/manage/privileges.less
Normal file
7
public/less/admin/manage/privileges.less
Normal file
@@ -0,0 +1,7 @@
|
||||
.page-manage-privileges {
|
||||
.ui-autocomplete {
|
||||
height: 500px;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
}
|
||||
@@ -14,7 +14,10 @@ define('autocomplete', function () {
|
||||
},
|
||||
select: onselect,
|
||||
source: function (request, response) {
|
||||
socket.emit('user.search', { query: request.term }, function (err, result) {
|
||||
socket.emit('user.search', {
|
||||
query: request.term,
|
||||
paginate: false,
|
||||
}, function (err, result) {
|
||||
if (err) {
|
||||
return app.alertError(err.message);
|
||||
}
|
||||
|
||||
@@ -26,6 +26,7 @@ module.exports = function (SocketUser) {
|
||||
onlineOnly: data.onlineOnly,
|
||||
bannedOnly: data.bannedOnly,
|
||||
flaggedOnly: data.flaggedOnly,
|
||||
paginate: data.paginate,
|
||||
uid: socket.uid,
|
||||
}, next);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user