summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-11-12 13:09:03 +0100
committerAleksander Machniak <alec@alec.pl>2012-11-12 13:09:03 +0100
commitaf18b5b06f7045d0d2f76d618ed8831a788931af (patch)
tree6194b575b62b65fd61a3ad50841fd2bad2f4dd55
parenta38cd0f12a29ba323c1edaa7fbd1f51572454304 (diff)
Fix regression where unintentional page reload was done after request abort (#1488802)
-rw-r--r--CHANGELOG1
-rw-r--r--program/js/app.js5
2 files changed, 1 insertions, 5 deletions
diff --git a/CHANGELOG b/CHANGELOG
index c2737da1e..fe7c5f6b2 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,6 +1,7 @@
CHANGELOG Roundcube Webmail
===========================
+- Fix regression where unintentional page reload was done after request abort (#1488802)
- Fix excessive LFs at the end of composed message with top_posting=true (#1488797)
- Fix bug where leading blanks were stripped from quoted lines (#1488795)
diff --git a/program/js/app.js b/program/js/app.js
index 4ee272c4c..8fe68bf9e 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -6145,11 +6145,6 @@ function rcube_webmail()
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);