Custom Query (7259 matches)


Show under each result:

Results (82 - 84 of 7259)

Ticket Resolution Summary Owner Reporter
#5069 fixed ui.tabs.add creates two tab panels when using a full URL snover

When creating a new tab by passing in a full URL to ui.tabs.add, two tab panels are added to the DOM—one by ui.tabs.add and another by ui.tabs._tabify. The panel created by ui.tabs.add never gets used, never gets removed, and ends up sitting wasting space for no reason.

I’m not familiar enough yet with the internals of jQuery UI to know what the proper solution is; removing all references to $panel in ui.tabs.add gets things working somewhat better for AJAX calls, but breaks page fragments completely.

The generated ID also ends up double-incremented because ui.tabs._tabId gets called twice: once to get the id for the tab in ui.tabs.add, and then again to get a tab panel ID in ui.tabs._tabify.


#3903 notabug ui.tabs with ajaxStart and ajaxStop events klaus.hartl roywb

If tabs are set up to use ajax mode, xhr.abort is used to stop any current tab load if a new tab is selected or current tab is reselected programatically. Whenever this happens the variable used for the global ajax count should be decremented or ajaxStop will never be fired. Alternative fix would be to change internal AJAX options for ui.tabs so that global = false.

#8637 notabug ui.tabs with <base> tag rxcheng

With 1.9.0, if a <base> tag is present in the <head> section, local tabs load the content of the base URL, instead of the content of the referred div.

<!doctype html>
<html lang="en">
    <meta charset="utf-8" />
    <base href="" />
    <link rel="stylesheet" href="" />
    <script src=""></script>
    <script src=""></script>
    $(function() {
  <div id="tabs">
      <li><a href="#tab-1">Tab 1</a></li>
      <li><a href="#tab-2">Tab 2</a></li>
    <div id="tab-1">Content of Tab 1</div>
    <div id="tab-2">Content of Tab 2</div>

Please note: to reproduce this issue, the href URL needs to be the same domain where this HTML file is located.

This is not an issue with 1.8.x.

Note: See TracQuery for help on using queries.