Bug Tracker

Changes between Initial Version and Version 1 of Ticket #12964, comment 5


Ignore:
Timestamp:
Nov 27, 2012, 4:25:40 AM (9 years ago)
Author:
rbuchholz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12964, comment 5

    initial v1  
    55
    66Does this work for you? At least in Webkit, the outstanding request is aborted by the browser before window's unload handler is called.
     7
     8EDIT:  This seems to happen before the request abort:
     9
     10{{{
     11$(window).bind('beforeunload', function() {
     12  $.unloading = true;
     13  ...
     14});
     15}}}