Custom Query (7259 matches)

Filters
 
Or
 
  
 
Columns

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
Description

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.

Regards,

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

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 jQuery.active 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
Description

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">
<head>
    <meta charset="utf-8" />
    <base href="http://example.com/" />
    <link rel="stylesheet" href="http://code.jquery.com/ui/1.9.0/themes/base/jquery-ui.css" />
    <script src="http://code.jquery.com/jquery-1.8.2.js"></script>
    <script src="http://code.jquery.com/ui/1.9.0/jquery-ui.js"></script>
    <script>
    $(function() {
        $('#tabs').tabs();
    });
    </script>
</head>
<body>
  <div id="tabs">
    <ul>
      <li><a href="#tab-1">Tab 1</a></li>
      <li><a href="#tab-2">Tab 2</a></li>
    </ul>
    <div id="tab-1">Content of Tab 1</div>
    <div id="tab-2">Content of Tab 2</div>
  </div>
</body>
</html>

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.