Bug Tracker

Ticket #9593 (closed bug: fixed)

Opened 3 years ago

Last modified 3 years ago

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
Blocking: Blocked by:

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

comment:1 Changed 3 years ago by rwaldron

  • Cc dmethvin added
  • Component changed from unfiled to event

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 3 years ago by dmethvin

  • Priority changed from undecided to low
  • Status changed from new to open

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

comment:3 Changed 3 years ago by dmethvin

  • Owner set to dmethvin
  • Status changed from open to assigned
  • Milestone changed from 1.next to 1.7

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

comment:4 Changed 3 years ago by Dave Methvin

  • Status changed from assigned to closed
  • Resolution set to fixed

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.