The event onMoveFinish of dhtmlXWindows does not work!

Hi!
The event onMoveFinish of dhtmlXWindows does not work.
My code is:
var dhxWins, w1;
function doOnLoad() {
dhxWins = new dhtmlXWindows();
dhxWins.enableAutoViewport(false);
dhxWins.attachViewportTo(“vp_container”);
dhxWins.vp.style.border = “#909090 1px solid”;
dhxWins.setImagePath(“…/…/codebase/imgs/”);
w1 = dhxWins.createWindow(“w1”, 340, 20, 320, 240);
w1.setText(“dhtmlxWindow”);
w1.button(“close”).disable();
w1.attachObject(‘obj’);
w1.attachEvent(“onMoveFinish”, function(win){
alert(‘onMoveFinish’);
return true;
});
}
Is it wrong? Wait your answer,thanks.

Hi,

I’ve attached the fixed dhtmlxwindows.js Please try it
dhtmlxwindows.zip (19.8 KB)