Skip to main content

Search and Top Navigation

#5465 closed bug (worksforme)

Opened March 31, 2010 07:32PM UTC

Closed May 17, 2011 05:35PM UTC

Quickly switching ajax tabs results in empty page with cache enabled

Reported by: scr4ve Owned by:
Priority: major Milestone: 1.9.0
Component: ui.tabs Version: 1.8
Keywords: cache Cc:
Blocked by: Blocking:

Having several Ajax Tabs with caching enabled: Switching to another tab while the current active tab is still loading kills the previously active tab: If I switch back, I get an empty page.

Disabling the cache option solves the problem.

Problem applies to Firefox 3.6.2 and Chrome

Attachments (0)
Change History (6)

Changed April 01, 2010 07:23PM UTC by scr4ve comment:1


function fixTabAbort(event,ui){
	jQuery("cache.tabs",(jQuery(ui.panel).html() == "") ? false : true);

		cache: true,
		load: fixTabAbort

Changed April 07, 2010 07:04PM UTC by pdebruic comment:2

The function above wasn't working for me for some reason, but this did:

                $('.ui-tabs-selected a:first').data("cache.tabs",($('.ui-tabs-panel:visible').html() == "") ? false : true);

Changed October 19, 2010 03:29PM UTC by scottgonzalez comment:3

priority: criticalmajor

Changed May 04, 2011 02:20PM UTC by carson comment:4

_comment0: I wasn't able to reproduce this issue:

I wasn't able to reproduce this issue:

In the above link click the "Tab 1" tab then immediately click the "Tab 2" tab. Wait for "Tab 2" tab to get its data then go back to "Tab 1" and you should see an error message but after 3 seconds that error message will be replaced by the correct text as it should be.

Changed May 17, 2011 05:29PM UTC by scottgonzalez comment:5

#5366 is a duplicate of this ticket.

Changed May 17, 2011 05:35PM UTC by scottgonzalez comment:6

resolution: → worksforme
status: newclosed

I can't reproduce this either, using carson's test page, even going back to 1.8.