problem with dhtmlxAjax and dhtmlxWindow


I have a dhtmlxLayout with attached toolbar. On toolbar which loading from XML i have a button and when press on it a dhtmlxWindow appear. I attached statusbar to my window and arragned 2 buttons: “OK” and “Cancel” to it. On click “OK” i call php-scenario with postSync of dhtmlxAjax and close my window. In FF when i press the “OK” button window will close and php-scenario begin to work. But in IE and Chrome when i press this button window doesn’t close and it will close after my php scenario finishes. How could i solve this problem?


I use dhtmlxlayout progressOn to mark the start of working my php-scenario, and progressOff to mark the end of working.


please see the answer here: