Bug Tracker

Opened 5 years ago

Closed 5 years ago

Last modified 5 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:


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 5 years ago by dmethvin

  • Cc richhensel@… added
  • Component changed from unfiled to event
  • Milestone changed from None to 1.7.2
  • Owner set to dmethvin
  • Priority changed from undecided to high
  • Status changed from new to assigned

comment:2 Changed 5 years ago by Dave Methvin

  • Resolution set to fixed
  • Status changed from assigned to closed

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

Changeset: 4534db196bf9475c79f74d6b62ebc866c27d06d9

Note: See TracTickets for help on using tickets.