Fix client side template mapping

v1.18.x
Charles 11 years ago
parent 39886c8545
commit b748a832a2

@ -153,7 +153,7 @@ var ajaxify = ajaxify || {};
var tpl_url = ajaxify.getCustomTemplateMapping(url.split('?')[0]);
if (tpl_url === false && !templates[url]) {
tpl_url = url.split('/');
tpl_url = ajaxify.removeRelativePath(url).split('/');
while(tpl_url.length) {
if (ajaxify.isTemplateAvailable(tpl_url.join('/'))) {

Loading…
Cancel
Save