#4317 closed bug (worksforme)
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 (6)
Changed 14 years ago by
Attachment: | index.html added |
---|
comment:1 Changed 14 years ago by
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...
comment:2 Changed 14 years ago by
erm.. this actually doesn't solve the issue at all - it breaks live() and die()..
comment:3 Changed 14 years ago by
Owner: | brandon deleted |
---|
comment:4 Changed 13 years ago by
Keywords: | needsreview added; event die live removed |
---|---|
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/
comment:5 Changed 13 years ago by
Keywords: | needsreview removed |
---|
Note: See
TracTickets for help on using
tickets.
Simple html - jquery.min.js is not included, just add it next to the file.