Skip to main content

Bug Tracker

Side navigation

#10484 closed bug (invalid)

Opened October 12, 2011 03:57PM UTC

Closed October 27, 2011 08:14AM UTC

Last modified November 30, 2011 04:29PM UTC

can not unbind unload

Reported by: zsolt.szloboda@gmail.com Owned by: zsolt.szloboda@gmail.com
Priority: low Milestone: None
Component: event Version: 1.6.4
Keywords: Cc:
Blocked by: Blocking:
Description

$(window).unload events can not be unbound with $(window).unbind

Attachments (0)
Change History (3)

Changed October 12, 2011 04:23PM UTC by timmywil comment:1

component: unfiledevent
owner: → zsolt.szloboda@gmail.com
priority: undecidedlow
status: newpending

Thanks for taking the time to contribute to the jQuery project! Please provide a complete reduced test case on jsFiddle to help us assess your ticket.

Additionally, be sure to test against the jQuery Edge version to ensure the issue still exists. To get you started, use this boilerplate: http://jsfiddle.net/FrKyN/ Open the link and click to "Fork" (in the top menu) to get started.

Changed October 27, 2011 08:14AM UTC by trac-o-bot comment:2

resolution: → invalid
status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

Changed November 30, 2011 04:29PM UTC by erik@highsoft.com comment:3

Try these with the console open:

http://jsfiddle.net/3mFEE/1/ uses jquery 1.7.1 works

http://jsfiddle.net/3mFEE/2/ uses jquery 1.6.4 fails to unbind 'unload' handler

http://jsfiddle.net/3mFEE/4/ uses jquery 1.4.4 works

http://jsfiddle.net/3mFEE/5/ uses jquery 1.5.2 works

Clicking 'connect', then 'disconnect', then the link to navigate away should not log anything to the console but it does when using 1.6.4.