Bug Tracker

Modify

Ticket #7922 (closed bug: fixed)

Opened 3 years ago

Last modified 2 years ago

live('click') does not fire when when live('submit') is bound first in IE

Reported by: david.n.arnold@… Owned by: dmethvin
Priority: blocker Milestone: 1.5.1
Component: event Version: 1.4.4
Keywords: Cc:
Blocking: Blocked by:

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

comment:1 Changed 3 years ago by rwaldron

  • Component changed from unfiled to event

comment:2 Changed 3 years ago by snover

  • Priority changed from undecided to blocker
  • Status changed from new to open
  • Summary changed from Incorrect event handling on IE 8 (live submit + live click interaction) to live('click') does not fire when when live('submit') is bound first in IE
  • Milestone changed from 1.next to 1.5.1

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

comment:3 Changed 3 years ago by dmethvin

  • Owner set to dmethvin
  • Status changed from open to assigned

I think this is similar to #6319 which I've already tackled, so I'll take a look at it.

comment:4 Changed 3 years ago by Dave Methvin

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

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

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.