added alphanumeric user search (instead of using reds), and exposed a proper socket call for user searching for non-admins

This commit is contained in:
Julian Lam
2014-01-19 22:07:29 -05:00
parent 483ad87c1d
commit e542da1f52
4 changed files with 19 additions and 27 deletions

View File

@@ -47,7 +47,7 @@ define(function() {
jQuery('#user-notfound-notify').html('<i class="fa fa-spinner fa-spin"></i>');
setTimeout(function() {
socket.emit('admin.user.search', username, function(err, data) {
socket.emit('user.search', username, function(err, data) {
if(err) {
return app.alert(err.message);
}