#6108 closed bug (wontfix)
.live(event) does not contain event.data in 1.4.2
Reported by: | skyzyx | Owned by: | |
---|---|---|---|
Priority: | Milestone: | 1.4.2 | |
Component: | event | Version: | |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
$(selector).live('click', function(event) {
event.data is undefined
});
Full test case with 1.4.1 and 1.4.2 is at http://ryanparman.com/labs/jquery_event_regression/
Change History (2)
comment:1 follow-up: 2 Changed 13 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
comment:2 Changed 12 years ago by
how about when you .live register to events like drop that require data ?
Replying to john:
This is correct - the original .data there was never meant to be exposed (we were forced to pass it in because of how the jQuery event system was structured). Note that it doesn't make sense to have data coming in for something that doesn't actually have data on it.
Note: See
TracTickets for help on using
tickets.
This is correct - the original .data there was never meant to be exposed (we were forced to pass it in because of how the jQuery event system was structured). Note that it doesn't make sense to have data coming in for something that doesn't actually have data on it.