UI Tabs > 1.6rc5 possible target element regression.
UI Tabs > 1.6rc5 possible target element regression.
Markup:
<div id="wrapper">
<ul>
<li><a href="#tab1">Tab 1</a></li>
<li><a href="#tab2">Tab 2</a></li>
<li><a href="#tab3">Tab 3</a></li>
</ul>
<div id="tab1">Tab 1 content.</div>
<div id="tab2">Tab 2 content.</div>
<div id="tab3">Tab 3 content.</div>
</div>
Code:
Prior to 1.6rc6 (yes, in 1.5.x too) this worked just fine:
$('#wrapper > ul').tabs();
From 1.6rc6 to 1.7 only this one works:
$('#wrapper').tabs();
If you want to test this, just play around with the Firebug console on
default Tabs demos in repository:
1.6rc5:
http://jquery-ui.googlecode.com/svn/tags/1.6rc5/demos/tabs/default.html
1.6rc6:
http://jquery-ui.googlecode.com/svn/tags/1.6rc6/demos/tabs/default.html
1.7:
http://jquery-ui.googlecode.com/svn/tags/1.7/demos/tabs/default.html
Is this a regression or an intention?
Thanks.
--
Bohdan
Topic Participants
bohdan.ganicky
Richard Worth