From 7caad67ef23eab67d97f32ae2aab65e485a39fc0 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Sun, 23 Oct 2016 17:58:49 -0400 Subject: [PATCH] resolve regression introduced by 1d9c2f49d2f7c03b928ce6ec5d8049d19ea11422 --- public/src/ajaxify.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/src/ajaxify.js b/public/src/ajaxify.js index 58bd66c282..e6464db5d1 100644 --- a/public/src/ajaxify.js +++ b/public/src/ajaxify.js @@ -147,6 +147,7 @@ $(document).ready(function () { if (status === 403 || status === 404 || status === 500 || status === 502 || status === 503) { if (status === 502 && retry) { retry = false; + ajaxifyTimer = undefined; return ajaxify.go(url, callback, quiet); } if (status === 502) { @@ -167,6 +168,7 @@ $(document).ready(function () { if (data.responseJSON && data.responseJSON.external) { window.location.href = data.responseJSON.external; } else if (typeof data.responseJSON === 'string') { + ajaxifyTimer = undefined; ajaxify.go(data.responseJSON.slice(1), callback, quiet); } }