ui.tabs bug.
ui.tabs bug.
I've found a ui.tabs bug.
To recreate
1. create a tab that uses ajax to load the tabs
<script type="text/javascript">
$(function() {
$('#maintab ul').tabs({ remote: true });
});
</script>
...
...
<div id="maintab" style="width: 100%;">
<ul>
<li><a href="boys.html"><span>Boys</span></a></li>
<li><a href="girls.html"><span>Girls</span></a></
li>
</ul>
</div>
now, from firebug console add a new tab
$('#maintab ul').tabsAdd('boys.html', 'Chat')
now click on the any of existing tabs... thier tab captions will be
permanently overwritten with 'Loading...'
I've tried to debug it but i cant figure out why it happens...
i'm using jQuery 1.2.1 and the ui.tabs.js from svn
i tested with both firefox 2.0.0.8 and ie 7