Error SCRIPT5007 on dhxWins = new dhtmlXWindows();

Hi,

After moving the codebase directory to a common directory i got the following error:

SCRIPT5007: Kan de waarde van de eigenschap appendChild niet ophalen: het object is null of niet gedefinieerd
dhtmlxwindows.js, regel 78 teken 195

This is the site i am working on:

bbqweer.eu/maps/polygons/

Can someone help me with this?

Regards,

William

Hi
Please, tell in detail how to repeat the issue.
According to the reference we can see the map only.

Hi,

There is no problem with the map, i got the following error in the script console:

SCRIPT5007: Kan de waarde van de eigenschap appendChild niet ophalen: het object is null of niet gedefinieerd
dhtmlxwindows.js, regel 78 teken 195

The error is caused by: dhxWins = new dhtmlXWindows();
After removing this line there is no error anymore.

Regards,

William

You need move you dhtmlxWindow creation in the initialize() function. It must fix the issue.

Thanks Darya,

I works fine now.

Regards,

William

You are welcome!