#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 13 years ago by
comment:2 Changed 12 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
The code shown above seems invalid since you're using the same panel for both tabs.
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.