'that' is undefined dhtmlxtree.openItem

I am currently using the professional version of the dhtmlxtree. I am getting an error when I try to use the openItem() function. The error states ‘that’ is undefined on line 165 char 4053. I am assuming this error is coming from either dhtmlxcommon.js or dhtmlxtree.js. The error disappears quickly and the function does as asked. Any ideas on how to get rid of the error, though?


There was problem with onOpenEnd event in current build, which can cause similar error in some circumstances.
Please contact us at support@dhtmlx.com and provide your ref. number - we will send you an updated js file.