diff --git a/public/src/ajaxify.js b/public/src/ajaxify.js index 0b1410a905..e314ffb072 100644 --- a/public/src/ajaxify.js +++ b/public/src/ajaxify.js @@ -35,7 +35,8 @@ var ajaxify = {}; // "quiet": If set to true, will not call pushState app.enterRoom('global'); - $('body').trigger('action:ajaxifying', {url: url}); + $('body').trigger('action:ajaxify.start', { url: url }); + $('body').trigger('action:ajaxifying', {url: url}); // Deprecated as of v0.4.0 if ($('#content').hasClass('ajaxifying')) { templates.cancelRequest(); @@ -118,7 +119,7 @@ var ajaxify = {}; } app.refreshTitle(url); - + $('body').trigger('action:ajaxify.end', { url: url }); }, url); return true;