Aleksander Machniak
2012-11-16 dd759730b0d2e7ac75e2011997e6cb654065590a
program/js/app.js
@@ -6306,6 +6306,11 @@
    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);