Bug Tracker

Opened 13 years ago

Closed 13 years ago

Last modified 9 years ago

#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:
Blocked by: Blocking:

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 (3)

comment:1 Changed 13 years ago by paul

Owner: set to klaus

comment:2 Changed 13 years ago by klaus

Resolution: fixed
Status: newclosed

comment:3 Changed 9 years ago by anonymous

why the ui tabs create two ui panel when i add a new tab via ajax ?

Note: See TracTickets for help on using tickets.