Modify ↓
Ticket #1846 (closed bug: fixed)
Tabs - Clicking 3 AJAX tabs causes 2 to remain visible
| Reported by: | hiro | Owned by: | klaus |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.2.2 |
| Component: | ui | Version: | 1.2.1 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
With Tabs, if I add three new AJAX tabs and then very quickly click on all of them in order. The final result is two tabs' contents remaining visible.
My workaround for this is to add the following to my $.tabs() arguments:
load: function(loaded_tab, loaded_content) {
var full_tab_id = loaded_tab.href.split('#')[1];
Hide all other tabs $('.ui-tabs-panel:not(#'+full_tab_id+')').addClass('ui-tabs-hide');
}
It would be neat if this was somehow baked in?
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.
