Skip to main content

Search and Top Navigation

#4097 closed bug (fixed)

Opened February 08, 2009 11:11PM UTC

Closed February 13, 2009 11:14PM UTC

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.

Attachments (0)
Change History (3)

Changed February 10, 2009 08:58PM UTC by scottgonzalez comment:1

milestone: TBD1.6
priority: majorcritical

Changed February 11, 2009 09:45PM UTC by klaus.hartl comment:2

owner: → klaus.hartl
status: newassigned

Changed February 13, 2009 11:14PM UTC by klaus.hartl comment:3

resolution: → fixed
status: assignedclosed

r2079