Ticket #4097 (closed bug: fixed)
Tab hover class doesn't work for dynamically added tabs
| Reported by: | onestone | Owned by: | klaus.hartl |
|---|---|---|---|
| Priority: | critical | Milestone: | 1.7 |
| Component: | ui.tabs | Version: | 1.6rc6 |
| Keywords: | tabs hover | Cc: | |
| Blocking: | Blocked by: |
Description
Mouse hover handlers are only binded for static tabs (which were already present when tabs() was called). However, for tabs added using tabs("add", ...), those event handlers are never bound, so their appearance doesn't change when mouse-hovered.
I traced the problem down to _tabify() being called without the 'init' argument in the add() function. The code which binds the events expects 'init' to be defined, but I don't understand the logic well enough to fix this myself.
Change History
Note: See
TracTickets for help on using
tickets.

