attachEvent not working in IE 7

The problem of closing the window in IE 7. We get js error:

I attach an example.
P.S. Give a quick workaround for IE7, please. (421 KB)


Please use attached files.
updates.rar (9.94 KB)

Thank you. It works! :slight_smile:

I have the same problem but i use dhtmlx.js instead of dhtmlxcommon.js
Any correction for this?


you can generate the new dhtmlx.js using libCompiler from Suite.
You should replace original libraries in Suite codebases with the fixed libs and run libCompiler to generate the new libs.