Side navigation
#2867 closed bug (fixed)
Opened May 14, 2008 04:17PM UTC
Closed January 18, 2009 02:43PM UTC
tabTemplate global replace
Reported by: | mdalessio | Owned by: | klaus |
---|---|---|---|
Priority: | major | Milestone: | 1.2.4 |
Component: | ui | Version: | 1.2.3 |
Keywords: | tabs | Cc: | |
Blocked by: | Blocking: |
Description
When replacing #{href} and #{label} in the ui.tabs tabTemplate, the replace is not global.
It probably should be. Patch attached.
<offtopic>
This problem was uncovered while trying to get a fixed id for my dynamic tab. The proper way to get a fixed id is to use the "title=" attribute in my anchor tag, but for dynamically-added tabs, this is done in the tabTemplate.
Probably, "title" should be able to be passed to tabs('add',...). Maybe a config object would be good here?
</offtopic>