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:


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 Scott González

Milestone: TBD1.6
Priority: majorcritical

comment:2 Changed 14 years ago by klaus.hartl

Owner: set to klaus.hartl
Status: newassigned

comment:3 Changed 14 years ago by klaus.hartl

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.