Skip to main content

Bug Tracker

Side navigation

#8456 closed bug (fixed)

Opened March 07, 2011 02:02AM UTC

Closed March 21, 2011 02:54PM UTC

Last modified March 09, 2012 04:02PM UTC

trigger('mouseover') no longer triggers mouseenter

Reported by: john.firebaugh Owned by: dmethvin
Priority: blocker Milestone: 1.5.2
Component: event Version: 1.5.1
Keywords: Cc:
Blocked by: Blocking:
Attachments (0)
Change History (6)

Changed March 07, 2011 02:45PM UTC by dmethvin comment:1

component: unfiledevent
milestone: 1.next1.5.2
priority: undecidedblocker
status: newopen

Changed March 07, 2011 02:55PM UTC by henrik.hjelte@stix.to comment:2

Ah, someone saw this bug before me, I have another fiddle example that documents it and shows the fix:

http://jsfiddle.net/zg6Na/18/

This works with jquery up to and including 1.5, starts breaking with 1.5.1

The problem is on line 2788 of dist/jquery.js (of 1.5.1)

Modified jquery.js

2788

  • if ( parent !== document && !parent.parentNode ) {

+ if ( parent !== document && (parent && !parent.parentNode )) {

Changed March 07, 2011 05:05PM UTC by dmethvin comment:3

owner: → dmethvin
status: openassigned

Changed March 10, 2011 03:41AM UTC by dmethvin comment:4

_comment0: Fix: https://github.com/jquery/jquery/pull/266 \ \ 1299728606715656

Fix: https://github.com/jquery/jquery/pull/266

BTW, john.firebaugh, thanks for the report and for finding the problem commit!

Changed March 21, 2011 02:54PM UTC by john comment:5

resolution: → fixed
status: assignedclosed

Landed.

Changed April 24, 2011 02:56AM UTC by dmethvin comment:6

#8624 is a duplicate of this ticket.