Bug Tracker

Opened 12 years ago

Closed 11 years ago

#2867 closed bug (fixed)

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>

Attachments (1)

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

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by mdalessio

Attachment: jquery-ui-2867.patch added

Patch

comment:1 Changed 11 years ago by paul

Owner: changed from paul to klaus

comment:2 Changed 11 years ago by klaus

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.