Hi,
I found that the javascript's operation of ajax may be error if the client can't connect to the server.
To support the code stronger,this "try...catch" code should be add.
In the ig_shared.js(Version 7.3.20073.38)
line:1306
this code:
this.execute = function () { var exec = true; if(this.beforeCallback != null) exec = this.beforeCallback(); if(exec && this._xmlHttpRequest) { if(this._progressIndicator != null) this._progressIndicator.display(); this.formatCallbackArguments(); this.registerSmartCallback(); this._xmlHttpRequest.open("POST", this.getUrl(), !this._waitResponse); this._xmlHttpRequest.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); this._xmlHttpRequest.onreadystatechange = this._responseComplete; this._xmlHttpRequest.send(this.getCallbackArguments()); } }
should be changed:
this.execute = function () { var exec = true; if(this.beforeCallback != null) exec = this.beforeCallback(); if(exec && this._xmlHttpRequest) { try // code add
{ if(this._progressIndicator != null) this._progressIndicator.display(); this.formatCallbackArguments(); this.registerSmartCallback(); this._xmlHttpRequest.open("POST", this.getUrl(), !this._waitResponse); this._xmlHttpRequest.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); this._xmlHttpRequest.onreadystatechange = this._responseComplete; this._xmlHttpRequest.send(this.getCallbackArguments()); }catch(e){} // code add
} }
Thanks.
I know,
Darrell Kress,Thank you,
You should submit this as a feature request through our Developer Support staff.