mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-04 19:41:16 +01:00
closes #5095
This commit is contained in:
@@ -91,7 +91,7 @@ define('forum/users', ['translator'], function(translator) {
|
||||
|
||||
function loadPage(query) {
|
||||
var qs = decodeURIComponent($.param(query));
|
||||
$.get('/api/users?' + qs, renderSearchResults).fail(function(xhrErr) {
|
||||
$.get(config.relative_path + '/api/users?' + qs, renderSearchResults).fail(function(xhrErr) {
|
||||
if (xhrErr && xhrErr.responseJSON && xhrErr.responseJSON.error) {
|
||||
app.alertError(xhrErr.responseJSON.error);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user