|
|
|
@ -204,7 +204,6 @@ var ajaxify = ajaxify || {};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var location = document.location || window.location,
|
|
|
|
|
api_url = (url === RELATIVE_PATH || url === '/' + RELATIVE_PATH) ? 'home' : url,
|
|
|
|
|
tpl_url = ajaxify.getCustomTemplateMapping(url.split('?')[0]);
|
|
|
|
|
|
|
|
|
|
if (!tpl_url) {
|
|
|
|
@ -212,7 +211,7 @@ var ajaxify = ajaxify || {};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
apiXHR = $.ajax({
|
|
|
|
|
url: RELATIVE_PATH + '/api/' + api_url,
|
|
|
|
|
url: RELATIVE_PATH + '/api/' + url,
|
|
|
|
|
cache: false,
|
|
|
|
|
success: function(data) {
|
|
|
|
|
if (!data) {
|
|
|
|
|