|
|
@ -71,12 +71,15 @@ $(document).ready(function() {
|
|
|
|
$('#footer, #content').removeClass('hide').addClass('ajaxifying');
|
|
|
|
$('#footer, #content').removeClass('hide').addClass('ajaxifying');
|
|
|
|
|
|
|
|
|
|
|
|
ajaxify.loadData(url, function(err, data) {
|
|
|
|
ajaxify.loadData(url, function(err, data) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!err || (err && err.data && (parseInt(err.data.status, 10) !== 302 && parseInt(err.data.status, 10) !== 308))) {
|
|
|
|
|
|
|
|
ajaxify.updateHistory(url, quiet);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (err) {
|
|
|
|
if (err) {
|
|
|
|
return onAjaxError(err, url, callback, quiet);
|
|
|
|
return onAjaxError(err, url, callback, quiet);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
ajaxify.updateHistory(url, quiet);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
retry = true;
|
|
|
|
retry = true;
|
|
|
|
app.template = data.template.name;
|
|
|
|
app.template = data.template.name;
|
|
|
|
|
|
|
|
|
|
|
|