finally found reliable repro steps and squashed you like the bug you are. fixed #1280

This commit is contained in:
psychobunny
2014-04-07 14:32:17 -04:00
parent 591fb41c08
commit b464099cca

View File

@@ -571,6 +571,13 @@ var socket,
ajaxify.widgets.render(tpl_url, url); ajaxify.widgets.render(tpl_url, url);
if (window.history && window.history.replaceState) {
var hash = window.location.hash ? window.location.hash : '';
window.history.replaceState({
url: url + hash
}, url, RELATIVE_PATH + '/' + url + hash);
}
ajaxify.loadScript(tpl_url, function() { ajaxify.loadScript(tpl_url, function() {
$(window).trigger('action:ajaxify.end', { $(window).trigger('action:ajaxify.end', {
url: url url: url