Side navigation
#7910 closed bug (invalid)
Opened January 06, 2011 01:29PM UTC
Closed January 30, 2011 08:02AM UTC
Last modified March 14, 2012 12:23AM UTC
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);
}
Attachments (0)
Change History (5)
Changed January 06, 2011 05:21PM UTC by comment:1
owner: | → EMVI |
---|---|
status: | new → pending |
Changed January 06, 2011 05:22PM UTC by comment:2
component: | unfiled → event |
---|
Changed January 16, 2011 01:29AM UTC by comment:3
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.
Changed January 16, 2011 01:31AM UTC by comment:4
status: | new → pending |
---|
Can you provide a reduced test case, that illustrates the bug using http://jsfiddle.net
Changed January 30, 2011 08:02AM UTC by comment:5
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!