Bug Tracker

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#8777 closed bug (fixed)

jQuery 1.6: undelegate() accepts custom namespaced events

Reported by: Rick Waldron Owned by: Rick Waldron
Priority: blocker Milestone: 1.6
Component: event Version: 1.5.2
Keywords: Cc:
Blocked by: Blocking:


Copied directly from jQuery 1.6 Roadmap:

I noticed that undelegate doesn't seem to work with a custom namespaced event.

If you undelegate('selector', '.namespace') it doesn't work, but if you unbind('.namespace') that same thing, it does.

Here's a fiddle that explains what I expected


seems like something useful for plugins or widgets that want to delegate.

Change History (3)

comment:1 Changed 12 years ago by Rick Waldron

Component: unfiledevent
Milestone: 1.next1.6
Owner: set to Rick Waldron
Priority: undecidedblocker
Status: newassigned

comment:2 Changed 12 years ago by Rick Waldron

First pass at what might be the gnarliest thing ever... https://github.com/rwldrn/jquery/tree/8777

comment:3 Changed 12 years ago by john

Resolution: fixed
Status: assignedclosed


Note: See TracTickets for help on using tickets.