This commit is contained in:
Barış Soner Uşaklı
2016-10-07 23:56:15 +03:00
parent 36f0637a64
commit 804c7927a4

View File

@@ -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);
}