Bug Tracker

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#11021 closed bug (fixed)

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@…
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'

Change History (2)

comment:1 Changed 11 years ago by dmethvin

Cc: richhensel@… added
Component: unfiledevent
Milestone: None1.7.2
Owner: set to dmethvin
Priority: undecidedhigh
Status: newassigned

comment:2 Changed 11 years ago by Dave Methvin

Resolution: fixed
Status: assignedclosed

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

Changeset: 4534db196bf9475c79f74d6b62ebc866c27d06d9

Note: See TracTickets for help on using tickets.