attachEvent not working in IE 7

Hello
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.
test.zip (421 KB)

Hi,

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

Thank you. It works! :slight_smile:

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

Hello,

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.