|
|
@ -18,6 +18,11 @@ define('forum/topic', [
|
|
|
|
currentUrl = '';
|
|
|
|
currentUrl = '';
|
|
|
|
|
|
|
|
|
|
|
|
$(window).on('action:ajaxify.start', function(ev, data) {
|
|
|
|
$(window).on('action:ajaxify.start', function(ev, data) {
|
|
|
|
|
|
|
|
if (Topic.replaceURLTimeout) {
|
|
|
|
|
|
|
|
clearTimeout(Topic.replaceURLTimeout);
|
|
|
|
|
|
|
|
Topic.replaceURLTimeout = 0;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (ajaxify.currentPage !== data.url) {
|
|
|
|
if (ajaxify.currentPage !== data.url) {
|
|
|
|
navigator.disable();
|
|
|
|
navigator.disable();
|
|
|
|
components.get('navbar/title').find('span').text('').hide();
|
|
|
|
components.get('navbar/title').find('span').text('').hide();
|
|
|
|