Opened 13 years ago

Closed 12 years ago

#4834 closed enhancement (wontfix)

Tab anchor tabTemplate with multiple SPAN failing

Reported by: glipman Owned by:
Priority: major Milestone: 1.9.0
Component: ui.tabs Version: 1.7.2
Keywords: anchor span spinner Cc:
Blocked by: Blocking:


As documented elsewhere the tabTemplate needs to have a SPAN for the spinner 'Loading...' to work. The default tabTemplate is therefore:

<li><a href='#{href}'><span>#{label}</span></a></li>

I want to add an 'X' to close the tab so I set tabTemplate to:

<li><a href='#{href}'><span>#{label}</span><span onclick='myCloseTab()'>X</span></a></li>

However: both span-tags are filled with the 'Loading...' text, not just the first one. Also after loading finished the label is inserted in both span's, not just the first one. As a workaround I use a <div style='display:inline'> instead of my span.

Change History (2)

comment:1 Changed 13 years ago by Jörn Zaefferer

Milestone: TBD1.8
Priority: minormajor
Type: bugenhancement

comment:2 Changed 12 years ago by Scott González

Resolution: wontfix
Status: newclosed

The tabTemplate option is being removed. See

Note: See TracTickets for help on using tickets.