reload tabbar

I’m updating dhtmlx Tabbar from 2.5 to 2.6 and now loadXML() don’t delete the old Tabs.
I’ve seen the function clearAll dos not work (clearAll:function(){ return;) I think this this the problem, but wen I’m fix it i become any other JS errors.

I will clear the tabbar and then load a other XML. How I can do this?

“return” wasn’t removed from the method by mistake:

clearAll:function(){
for (var id in this._tabs)

}