Skip to main content

Bug Tracker

Side navigation

#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

Hover hack mangles a namespace named "hover"

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)

Changed December 14, 2011 03:22AM UTC by dmethvin comment:1

cc: → richhensel@gmail.com
component: unfiledevent
milestone: None1.7.2
owner: → dmethvin
priority: undecidedhigh
status: newassigned

Changed December 14, 2011 03:29AM UTC by Dave Methvin comment:2

resolution: → fixed
status: assignedclosed

Fix #11021. There should be no mangling of the "hover" namespace.

Changeset: 4534db196bf9475c79f74d6b62ebc866c27d06d9