Skip to main content

Bug Tracker

Side navigation

#6644 closed bug (fixed)

Opened June 07, 2010 05:54PM UTC

Closed June 09, 2010 01:34AM UTC

Last modified March 13, 2012 08:17PM UTC

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 (0.8 KB) - added by czambran June 07, 2010 05:54PM UTC.

    HTML file that can be used to reproduce the bug

Change History (1)

Changed June 09, 2010 01:34AM UTC by dmethvin comment:1

resolution: → fixed
status: newclosed

I've updated the documentation to clarify that

beforeunload
is not supported through jQuery's event system.