Bug Tracker

Opened 7 years ago

Closed 7 years ago

Last modified 5 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.

Change History (1)

comment:1 Changed 7 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.