Help, tabbar.setTabActive() hangs browser and system

My firefox version is 32.0
And I use dhtmlxtabbar.js - version v.3.6


When the browser encounters the above statement it hangs the firefox browser and then the entire system is stuck.! Then I have only one option to restart my system to get out of the crash.

The same statement working fine in google chrome browser.
Please suggest me a fix for this problem.

Note : In dhtmlxtabbar.js It stops the browser while encountering the given line in b.autosize function, it neither throws any error, just hangs the system.

// other statements …
// The belove line stops the further execution and stops the browser and system



Could you please provide us complete demo including all correspondnig js/css files?
Please also add information regarding current and expected behaviour.

Here is a small guide how to make a complete demo: … pport.html

If you don’t want to share your demo here for any reasons - you can send it to, if so - please include link to this forum topic.

If you’re using PRO Edition please send your demo to