Modify ↓
Ticket #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@… | |
| Blocking: | Blocked by: |
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
comment:1 Changed 18 months ago by dmethvin
- Status changed from new to assigned
- Cc richhensel@… added
- Component changed from unfiled to event
- Priority changed from undecided to high
- Milestone changed from None to 1.7.2
- Owner set to dmethvin
comment:2 Changed 18 months ago by Dave Methvin
- Status changed from assigned to closed
- Resolution set to fixed
Fix #11021. There should be no mangling of the "hover" namespace.
Changeset: 4534db196bf9475c79f74d6b62ebc866c27d06d9
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.
