Ticket #3171 (closed enhancement: fixed)
have option to remove tab by href content, not just by index
| Reported by: | tiago.freire@… | Owned by: | klaus.hartl |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.8.3 |
| Component: | ui.tabs | Version: | 1.6rc6 |
| Keywords: | Cc: |
Description
My system generates tabs on runtime, with UUIDs as the ID attribute to ensure uniqueness. This way the menu has an href=#<uuid>, and the div has id=#<uuid>. Tracking the index of each content is tiresome, and deletion requires re-scanning the menu and updating the indexes so that I can delete the content correctly. It would be better (for me at least) if I also could use the code:
$(#menu).tabs("remove",'#<uuid>');
and not care about the indexes (which are useful in other circumstances).
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/nologo.gif)
