Bug Tracker

Opened 6 years ago

Closed 6 years ago

Last modified 4 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:

Description

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 jquery.min.js@54(Object { name="a"})jquery.min.js (line 55)
? in jquery.min.js@49()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 6 years ago.
HTML file that can be used to reproduce the bug

Download all attachments as: .zip

Change History (2)

Changed 6 years ago by czambran

HTML file that can be used to reproduce the bug

comment:1 Changed 6 years ago by dmethvin

  • Resolution set to fixed
  • Status changed from new to closed

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.