Ticket #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 | |
| 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:2 Changed 2 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 22 months 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 21 months 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
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

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