Bug Tracker

Opened 12 years ago

Closed 12 years ago

#9593 closed bug (fixed)

Delegated submit event is not instanceof jQuery.Event in IE

Reported by: doochik Owned by: dmethvin
Priority: low Milestone: 1.7
Component: event Version: 1.6.1
Keywords: Cc: dmethvin
Blocked by: Blocking:

Description

IE doesn't support submit event bubbling. So it's being simulated with click.

Here is test case: http://jsfiddle.net/aC2mS/1/

I think this bug may be related to http://bugs.jquery.com/ticket/7061

Change History (4)

comment:1 Changed 12 years ago by Rick Waldron

Cc: dmethvin added
Component: unfiledevent

Further reduced: http://jsfiddle.net/rwaldron/aC2mS/3/

Although, I'm certain this is simply a side effect of the submit event normalization. cc'ing Dave Methvin for final words

comment:2 Changed 12 years ago by dmethvin

Priority: undecidedlow
Status: newopen

We should definitely be passing a jQuery.Event in all cases.

comment:3 Changed 12 years ago by dmethvin

Milestone: 1.next1.7
Owner: set to dmethvin
Status: openassigned

I have this working in my 1.7 branch and IE, will retest when it lands.

comment:4 Changed 12 years ago by Dave Methvin

Resolution: fixed
Status: assignedclosed

Fix #9593. Create a new jQuery.Event rather than a plain object when simulate()ing events. Fix a related issue with not passing src to jQuery.Event constructor.

Changeset: 8c91da57b9fbc8ded9854a899e4105530cea1d90

Note: See TracTickets for help on using tickets.