|
|
@ -250,7 +250,7 @@ define('admin/manage/users', ['admin/modules/selectable'], function(selectable)
|
|
|
|
timeoutId = setTimeout(function() {
|
|
|
|
timeoutId = setTimeout(function() {
|
|
|
|
$('.fa-spinner').removeClass('hidden');
|
|
|
|
$('.fa-spinner').removeClass('hidden');
|
|
|
|
|
|
|
|
|
|
|
|
socket.emit('admin.user.search', {searchBy: [type], query: $this.val()}, function(err, data) {
|
|
|
|
socket.emit('admin.user.search', {searchBy: type, query: $this.val()}, function(err, data) {
|
|
|
|
if (err) {
|
|
|
|
if (err) {
|
|
|
|
return app.alertError(err.message);
|
|
|
|
return app.alertError(err.message);
|
|
|
|
}
|
|
|
|
}
|
|
|
|