Side navigation
#4317 closed bug (worksforme)
Opened March 09, 2009 07:22PM UTC
Closed November 01, 2010 09:10PM UTC
Last modified November 02, 2010 02:06AM UTC
die() kills events on similar elements
Reported by: | georgious | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | 1.4.4 |
Component: | event | Version: | 1.3.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
If you use $('a').live('click', somefunction) and then $('.someClass a').die('click') the latter will kill the event of all a-s which were bound at first.
Attachments (1)
Change History (5)
Changed March 10, 2009 11:18AM UTC by comment:1
Changed March 10, 2009 11:34AM UTC by comment:2
erm.. this actually doesn't solve the issue at all - it breaks live() and die()..
Changed June 17, 2009 02:35AM UTC by comment:3
owner: | brandon |
---|
Changed November 01, 2010 09:10PM UTC by comment:4
_comment0: | The reported issue no longer exists; However a new bug does: http://jsfiddle.net/rwaldron/6b3fR/4/ → 1288645937400969 |
---|---|
keywords: | event, die, live → needsreview |
milestone: | 1.4 → 1.4.4 |
priority: | major → high |
resolution: | → worksforme |
status: | new → closed |
The reported issue no longer exists; http://jsfiddle.net/rwaldron/6b3fR/4/
Changed November 02, 2010 02:06AM UTC by comment:5
keywords: | needsreview |
---|
changed
jQuery(document).bind( liveConvert(type, this.selector), this.selector, proxy );
with
jQuery(this).bind( liveConvert(type, this.selector), this.selector, proxy );
on line 2978 and that seemed to fix the issue. Did the same for the die() method. Not sure whether that is a clean fix, though...