Opened 14 years ago
Closed 14 years ago
#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: | |
Blocked by: | Blocking: |
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 (3)
comment:1 Changed 14 years ago by
Milestone: | TBD → 1.6 |
---|---|
Priority: | major → critical |
comment:2 Changed 14 years ago by
Owner: | set to klaus.hartl |
---|---|
Status: | new → assigned |
comment:3 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
r2079