Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#2867 closed bug (fixed)

tabTemplate global replace

Reported by: mdalessio Owned by: klaus.hartl
Priority: major Milestone: 1.5
Component: ui.tabs Version: 1.5b4
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>

Attachments (1)

jquery-ui-2867.patch (590 bytes) - added by mdalessio 12 years ago.
Patch

Download all attachments as: .zip

Change History (6)

Changed 12 years ago by mdalessio

Attachment: jquery-ui-2867.patch added

Patch

comment:1 Changed 12 years ago by (none)

Milestone: 1.2.4

Milestone 1.2.4 deleted

comment:2 Changed 12 years ago by paul

Component: ui.coreui.tabs
Version: 1.2.31.5b4

comment:3 Changed 12 years ago by paul

Owner: changed from paul to klaus.hartl
Status: newassigned

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

Resolution: fixed
Status: assignedclosed

Fixed in [77]. Thanks.

comment:5 Changed 11 years ago by paul

Milestone: 1.5
Note: See TracTickets for help on using tickets.