Opened 15 years ago

Closed 15 years ago

Last modified 14 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 15 years ago.
Patch

Download all attachments as: .zip

Change History (6)

Changed 15 years ago by mdalessio

Attachment: jquery-ui-2867.patch added

Patch

comment:1 Changed 15 years ago by (none)

Milestone: 1.2.4

Milestone 1.2.4 deleted

comment:2 Changed 15 years ago by paul

Component: ui.coreui.tabs
Version: 1.2.31.5b4

comment:3 Changed 15 years ago by paul

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

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

Resolution: fixed
Status: assignedclosed

Fixed in [77]. Thanks.

comment:5 Changed 14 years ago by paul

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