#7922 closed bug (fixed)
live('click') does not fire when when live('submit') is bound first in IE
| Reported by: | Owned by: | dmethvin | |
|---|---|---|---|
| Priority: | blocker | Milestone: | 1.5.1 |
| Component: | event | Version: | 1.4.4 |
| Keywords: | Cc: | ||
| Blocked by: | Blocking: |
Description
In certain cases, handling of click and submit events registered through the live method will fail on IE 8.
This is not the same issue as #6359.
There are two test cases here: http://jsfiddle.net/jKbYH/1/
You can uncomment one or the other test case to demonstrate the issue (but not both).
Change History (4)
comment:1 Changed 10 years ago by
| Component: | unfiled → event |
|---|
comment:2 Changed 10 years ago by
| Milestone: | 1.next → 1.5.1 |
|---|---|
| Priority: | undecided → blocker |
| Status: | new → open |
| Summary: | Incorrect event handling on IE 8 (live submit + live click interaction) → live('click') does not fire when when live('submit') is bound first in IE |
comment:3 Changed 10 years ago by
| Owner: | set to dmethvin |
|---|---|
| Status: | open → assigned |
I think this is similar to #6319 which I've already tackled, so I'll take a look at it.
comment:4 Changed 10 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Fixes #7922. Copy the donor event when simulating a bubbling submit in IE so that we don't accidentally stop propagation on it. Remove a bunch of return statements that could also cancel the event. DRY out the liveFired change from #6359 by moving it to the trigger() function.
Changeset: 12c0e1a692aa045e9d3cf166a41748d7f5fe31cc

This is basically the opposite problem to the one that was supposedly fixed by #6359.