dhtmlXTabbar closing button problem

When i close the last tab, causes a JavaScript error that will not allow the user to select another tab .

How to solve?

Thanks

Please see the sample page:

dhtmlx.com/docs/products/dhtmlxT … utton.html


Hello,


there wasn’t an issue with removeTab method in the previous tabbar version (the demo on our website). It is solved in the latest tabbar version which can be downloaded here dhtmlx.com/docs/products/dhtmlxT … ndex.shtml