Bug Tracker

Ticket #2867 (new bug)

Opened 7 months ago

Last modified 6 months ago

tabTemplate global replace

Reported by: mdalessio Assigned to: klaus
Type: bug Priority: major
Milestone: 1.2.4 Component: ui
Version: 1.2.3 Keywords: tabs
Cc: Needs: Review

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

jquery-ui-2867.patch (0.6 kB) - added by mdalessio 7 months ago.
Patch

Change History

Changed 7 months ago by mdalessio

Patch

Changed 6 months ago by paul

  • owner changed from paul to klaus
Note: See TracTickets for help on using tickets.