Skip to main content

Bug Tracker

Side navigation

#14199 closed bug (duplicate)

Opened July 29, 2013 06:46PM UTC

Closed July 29, 2013 07:16PM UTC

Event received twice if fired by jquery

Reported by: martin.samek@seznam.cz Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.10.2
Keywords: Cc:
Blocked by: Blocking:
Description
Attachments (0)
Change History (5)

Changed July 29, 2013 06:53PM UTC by dmethvin comment:1

#14200 is a duplicate of this ticket.

Changed July 29, 2013 06:54PM UTC by dmethvin comment:2

The event is bubbling, as it should. Please ask for help on a forum.

Changed July 29, 2013 07:05PM UTC by dmethvin comment:3

I take that back, the inline handler seems like it should only be called once.

http://jsfiddle.net/ewh8c/1/

Changed July 29, 2013 07:09PM UTC by martin.samek@seznam.cz comment:4

When listener is attached by jQuery, it is called also once.

http://jsfiddle.net/ewh8c/2/

Changed July 29, 2013 07:16PM UTC by dmethvin comment:5

resolution: → duplicate
status: newclosed

Duplicate of #10168.See the duplicate ticket. Inline handlers are going to be executed twice for these edge cases, you can .stopPropagation() as a solution or better yet, don't use inline handlers.