use removeRelativePath in app.js too

This commit is contained in:
barisusakli
2014-06-09 01:28:58 -04:00
parent 26309b5d65
commit 4bdbce9cd8

View File

@@ -516,9 +516,7 @@ var socket,
tpl_url = ajaxify.getTemplateMapping(url),
$window = $(window);
if (url.indexOf(RELATIVE_PATH.slice(1)) !== -1) {
url = url.slice(RELATIVE_PATH.length);
}
url = ajaxify.removeRelativePath(url);
ajaxify.widgets.render(tpl_url, url);