#11021 (Hover hack mangles a namespace named "hover") - jQuery (original) (raw)

#11021 closed bug (fixed)

Opened December 14, 2011 03:22AM UTC

Closed December 14, 2011 03:29AM UTC

Last modified March 09, 2012 06:24PM UTC

Reported by: dmethvin Owned by: dmethvin
Priority: high Milestone: 1.7.2
Component: event Version: 1.7.1
Keywords: Cc: richhensel@gmail.com
Blocked by: Blocking:
Description

On behalf of richhensel at gmail.com in #10882:

I was trying to add a custom event called 'xyz.hoverUrl.set' and it replaces that event with 'mouseleaveUrl'

The regex is too permissive in the hoverhack. Please make it more specific.

test case:

var a = {}; $(a).bind('xyz.hoverUrl.set', function(){return});

look at events for a and you will see 'mouseleaveUrl'

Attachments (0) Change History (2)