In version 3.6 the function getTopmostWindow returns an object.
In version 4.0 the function returns a string of the ID of the window.
The documentation below says it should return an object.
docs.dhtmlx.com/api__dhtmlxwindo … indow.html
Version 3.6 code:
return (topmost.zi != 0 ? topmost : null);
Version 4.0 code:
return (data?data.id:null);
I think it should just be data not data.id?