jkornobis
2012-10-30 d2d00c510be0974fe2ec2b8d926cb00b25686083
program/js/app.js
@@ -6141,6 +6141,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(); }, 30000);