Skip to main content

Bug Tracker

Side navigation

#9593 closed bug (fixed)

Opened June 15, 2011 01:52PM UTC

Closed September 19, 2011 07:43PM UTC

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

Attachments (0)
Change History (4)

Changed June 15, 2011 03:36PM UTC by rwaldron comment:1

cc: → dmethvin
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

Changed June 23, 2011 11:04PM UTC by dmethvin comment:2

priority: undecidedlow
status: newopen

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

Changed September 08, 2011 08:00PM UTC by dmethvin comment:3

milestone: 1.next1.7
owner: → dmethvin
status: openassigned

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

Changed September 19, 2011 07:43PM UTC by Dave Methvin comment:4

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