Opened 9 years ago

Closed 9 years ago

Last modified 7 years ago

#5744 closed bug (notabug)

Tabs AJAX not reloading when using cache: true and title attribute

Reported by: ccazette Owned by:
Priority: major Milestone:
Component: ui.tabs Version: 1.8.2
Keywords: tabs, cache, title, container Cc:
Blocked by: Blocking:

Description

Hi guys,

Just to report that the cache: true functionality isn't working when you want to use a specific container using the "title" attribute. AJAX is correctly working but if you want to go back to a tab that was previously loaded, nothing is displayed.

For example :

$("#dashboard_menu").tabs({cache: true});

with the following markup : <div id="dashboard_menu">

<ul> <li id="menu_item"><a href="url1.html" title="dashboard_container">URL 1</a></li>

<li id="menu_item"><a href="url2.html" title="dashboard_container">URL 2</a></li>

</ul>

</div> <div id="dashboard_container"></div>

Change History (3)

comment:1 Changed 9 years ago by KeithMajhor

I think I'm having a similar problem. If I select a slow loading ajax tab and then select another tab while that tab is still loading. It cancels the ajax request but seems to cache it anyway... The contents will be empty and it will never attempt to reload.

comment:2 Changed 9 years ago by Scott González

Resolution: invalid
Status: newclosed

The code shown above seems invalid since you're using the same panel for both tabs.

comment:3 Changed 7 years ago by Scott González

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.