Custom Query (7259 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (55 - 57 of 7259)

Ticket Resolution Summary Owner Reporter
#1835 fixed Initializing multiple tab sets in one selector fails klaus klaus
Description

When initializing multiple tab sets at once via selector like

$('#tabs-1 > ul, #tabs-2 > ul').tabs();

only the first tab set is working properly (the styles are applied to all though).

#1840 fixed sortable smooth false causes parentNode exception paul rworth
Description

If sortable is called with the smooth option set to false, the following exception occurs:

this.parentNode has no properties file:///C:/trunk/jquery/src/core.js Line 1271

Example code:

<!DOCTYPE html PUBLIC "-W3CDTD XHTML 1.0 TransitionalEN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head>

<title>test</title> <script type="text/javascript" src="../scripts/jquery-1.2.1.js"></script> <script type="text/javascript" src="../scripts/jquery-ui.js"></script>

</head>

<body>

<ul id="faqlist">

<li>abc</li> <li>def</li> <li>ghi</li>

</ul>

<script type="text/javascript">

$('#faqlist').sortable({

smooth: false

});

</script>

</body> </html>

#1845 fixed Tabs - Openning multiple AJAX tabs causes spinner to not be removed klaus hiro
Description

Using Tabs 3 which can be seen demoed on the test page: http://stilbuero.de/jquery/tabs_3/

Under "Ajax tabs"

Click tab Two then click tab Three very quickly before tab two finishes loading. Notice how the Loading... spinner dialog doesn't not get updated with the proper text? The spinner logo is removed on all tabs, but tab Two remains with the spinner text.

This appears to be caused around line 449 of ui.tabs.js by $span not being a direct pointer to each tab, but of the last one?

I believe I have a somewhat crude fix for this:

from line 442:

load if (o.spinner) {

$span.attr('text', $span.html());

$span.html('<em>' + o.spinner + '</em>');

}

setTimeout(function() { $(a.hash).load(url, function() {

if (o.spinner) {

tab_contents_id = "a[href='#"+a.href.split('#')[1]+"'] span"; $(tab_contents_id).html($(tab_contents_id).attr('text'));

} $a.removeClass(o.loadingClass);

...

This seems to solve the problem with my test case...

Note: See TracQuery for help on using queries.