[jQuery] ui.tabs bug

[jQuery] ui.tabs bug


Sorry if this is the wrong place to post this.... but 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="/uitest/boys"><span>Boys</span></a></li>
<li><a href="/uitest/girls"><span>Girls</span></a></
li>
</ul>
</div>
then from firebug console add a new tab
$('#maintab ul').tabsAdd('/uitest/men', 'Chat')
now click on the any of existing tabs... that tab caption will be
permanently overwritten with 'Loading...'
I've tried to debug it but i cant figure out why it happens...