Ticket #5326 (closed bug: worksforme)
Cannot unbind mouseenter/mouseleave events using a 'namespace'
|Reported by:||ALLPRO||Owned by:||ALLPRO|
|Keywords:||unbind namespace mouseenter mouseleave||Cc:|
The unbind(".NAMESPACE") functionality does not work for the mouseenter and mouseleave pseudo-events.
This unbinds "click.mywidget", but NOT "mouseenter.mywidget".
Even if the event name is added, mouseenter still won't unbind when the namespace is specified...
$(el).unbind("mouseenter.mywidget"); does not work
The only way to unbind mouseenter is to *not* specify the namespace - ie, unbind *all* mouseenter events...
$P.unbind("mouseenter"); works normally
The same thing applies to mouseleave.
The main issue here is that unbinding an event.namespace *should* unbind ALL events that were added using bind("event.namespace").
FYI: I posted this in the dev-forum for feedback, but got no response:
- Owner changed from brandon to ALLPRO
- Priority changed from minor to undecided
- Status changed from new to pending
- Milestone 1.4 deleted