Skip to main content

Bug Tracker

Side navigation

#10477 closed bug (fixed)

Opened October 11, 2011 05:11PM UTC

Closed October 12, 2011 12:32AM UTC

Unbind removing all handlers, not just the specified one

Reported by: dennisjq Owned by: dmethvin
Priority: undecided Milestone: None
Component: unfiled Version: git
Keywords: Cc:
Blocked by: Blocking:
Description

Not sure if this is a bug or a change in behavior going forward, but in a nutshell calling 'unbind' and specifying a specific handler to unbind used to only unbind that handler -- now it seems to be removing all handlers.

Try the following fiddle with jQuery edge/git and jQuery 1.6.4

http://jsfiddle.net/WFWqw/

Attachments (0)
Change History (2)

Changed October 12, 2011 12:03AM UTC by dmethvin comment:1

owner: → dmethvin
status: newassigned

That's a bug, thanks for reporting it! It should be fixed in 1.7b2.

Changed October 12, 2011 12:32AM UTC by Dave Methvin comment:2

resolution: → fixed
status: assignedclosed

Fixes #10477. Get .off(type, null, fn) right.

Changeset: 6afc2c074bec5c19063c8f8ebca6bfb53c7d4cef