Search and Top Navigation
#5744 closed bug (notabug)
Opened June 19, 2010 09:26AM UTC
Closed April 11, 2011 03:12PM UTC
Last modified October 11, 2012 09:15PM UTC
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>
Attachments (0)
Change History (3)
Changed September 01, 2010 04:43PM UTC by comment:1
Changed April 11, 2011 03:12PM UTC by comment:2
resolution: | → invalid |
---|---|
status: | new → closed |
The code shown above seems invalid since you're using the same panel for both tabs.
Changed October 11, 2012 09:15PM UTC by comment:3
milestone: | TBD |
---|
Milestone TBD deleted
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.