aboutsummaryrefslogtreecommitdiffstats
path: root/main/roundcubemail/roundcubemail_0.8.3_compose_reload_fix.patch
blob: 5408c1d6ac737932142caaa18cf6f93d4c0cbc49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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 @@ 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);