From af18b5b06f7045d0d2f76d618ed8831a788931af Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Mon, 12 Nov 2012 07:09:03 -0500 Subject: [PATCH] Fix regression where unintentional page reload was done after request abort (#1488802) --- program/js/app.js | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/program/js/app.js b/program/js/app.js index 4ee272c..8fe68bf 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -6145,11 +6145,6 @@ else if (request.status == 0 && status != 'abort') this.display_message(this.get_label('servererror') + ' (No connection)', 'error'); - // redirect to url specified in location header if not empty - var location_url = request.getResponseHeader("Location"); - if (location_url != '') - this.redirect(location_url); - // re-send keep-alive requests after 30 seconds if (action == 'keep-alive') setTimeout(function(){ ref.keep_alive(); ref.start_keepalive(); }, 30000); -- Gitblit v1.9.1