Problem saving Form data integrated in a Windows

I have a window in which I have integrated a form.
When I want to save the form and close the window, I get an error from the javascript debug in Internet Explorer.
The error message is “Error : Object expected” on code “var a = this.obj.getUserData(g, this.action_param);” in dhtmlx.js (setUpdated function).

I suspect an interference between and win.close(), but don’t know how to solve it.
Could anybody help me ?

HTML code (index.html) :

Product Class Explorator html, body { width: 100%; height: 100%; margin: 0px; padding: 0px; overflow: hidden; background-color: #fafafa; } .dhxtree_dhx_skyblue .standartTreeRow { font-size:11px !important; }

PHP Connector (formdata.php) :

<?php require_once("../DHTMLX5/sources/php_connector/codebase/form_connector.php"); require("../config.php"); $db=mysql_connect($mysql_server,$mysql_user,$mysql_pass); mysql_select_db($mysql_db); $conn_f = new FormConnector($db,"MySQL"); $conn_f->enable_log("trace.log"); LogMaster::log("formdata.php"); $conn_f->render_table("item","int_id","int_id, id, name, description"); ?>

unfortunately the problem cannot be reproduced locally.
Could you pleas,e share with a demo link or provide with a complete demo, where the problem can be reconstructed locally.
Here you can find a tutorial about creating a complete demo. … pport.html

You can try to use win.hide instead of win.close, it will hide the window, but will not destroy its object.

During data saving, when response is received from a server-side, dataprocessor will try to update data in the form, and may throw an error if form object was destroyed.