|
|
|
@ -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;
|
|
|
|
|