Bug Tracker

Opened 13 years ago

Closed 13 years ago

Last modified 11 years ago

#6644 closed bug (fixed)

binding/unbinding function to beforeunload event

Reported by: czambran Owned by:
Priority: Milestone: 1.4.2
Component: unfiled Version: 1.4.2
Keywords: Cc:
Blocked by: Blocking:


When using bind/unbind to attach and remove a function to the beforeunload event, firefox, through firebug, reports the following error:

e is null
? in [email protected](Object { name="a"})jquery.min.js (line 55)
? in [email protected]()jquery.min.js (line 49)
if(!b){d=a.type.split(".");a.type=d.sh...nt view wheelDelta which".split(" "), 

I have attached a simple HTML file that would allow you to easily reproduce the problem using Firefox with Firebug and the persist feature of the console tab enabled.

Attachments (1)

unloadTest.html (788 bytes) - added by czambran 13 years ago.
HTML file that can be used to reproduce the bug

Download all attachments as: .zip

Change History (2)

Changed 13 years ago by czambran

Attachment: unloadTest.html added

HTML file that can be used to reproduce the bug

comment:1 Changed 13 years ago by dmethvin

Resolution: fixed
Status: newclosed

I've updated the documentation to clarify that beforeunload is not supported through jQuery's event system.

Note: See TracTickets for help on using tickets.