#7910 closed bug (invalid)
event.target is maybe undefined i
Reported by: | EMVI | Owned by: | EMVI |
---|---|---|---|
Priority: | undecided | Milestone: | 1.next |
Component: | event | Version: | 1.4.4 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
in jQuery.event.special.change.filters.beforeactivate is event.target maybe undefined
.trigger('focus')
.focus()
.trigger(new $.Event({ target: myElementNode, pe: 'focus' });
I fixed it in an external file, so I don't want modify the original source.
var _beforeactivate = jQuery.event.special.change.filters.beforeactivate; jQuery.event.special.change.filters.focus = jQuery.event.special.change.filters.beforeactivate = function( e ) {
e.target = e.target | | e.currentTarget | | e.originalTarget;
_beforeactivate(e);
}
Change History (5)
comment:1 Changed 12 years ago by
Owner: | set to EMVI |
---|---|
Status: | new → pending |
comment:2 Changed 12 years ago by
Component: | unfiled → event |
---|
comment:3 Changed 12 years ago by
Status: | pending → new |
---|
This error occurs only in one case so far. There is a DomNode relates to some widgets and several events are bound.
I can't post this case, because this script depends an several scripts of my employer that are not allowed to publish.
comment:4 Changed 12 years ago by
Status: | new → pending |
---|
Can you provide a reduced test case, that illustrates the bug using http://jsfiddle.net
comment:5 Changed 12 years ago by
Resolution: | → invalid |
---|---|
Status: | pending → closed |
Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!
Thanks for taking the time to contribute to the jQuery project! Please provide a reduced jsFiddle test case to help us assess your ticket!
Additionally, test against the latest jQuery release and the jQuery 0 GIT version to ensure the issue still exists. Be Excellent to eachother!