dhtmlxWindows image path issues

I am using Professional version of dhtmlxSuite 2.5
When I use the control dhtmlxWindows, its loading windows with some relative path

instead of

Please help.

The path to windows images can be set in the setImagePath method:


I tried
but didn’t solved the issue.

I modified function dhtmlXWindows() in dhtmlxwindows.js
I replace the follwing line of code
this.imagePath = dhtmlx.image_path||“codebase/imgs/”;
this.imagePath = dhtmlx.image_path||“dhtmlxWindows/codebase/imgs/”;

This worked for me although I am not sure if this is the proper way to fix.

Please check standard samples - the path is …/…/codebase/imgs/ and it is correctly set by setImage method: