Bug Tracker

Modify

Ticket #6644 (closed bug: fixed)

Opened 4 years ago

Last modified 2 years ago

binding/unbinding function to beforeunload event

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

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

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

Change History

Changed 4 years ago by czambran

HTML file that can be used to reproduce the bug

comment:1 Changed 4 years ago by dmethvin

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

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

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.