WCF.LoadingOverlayHandler.show();
}
+ if (this._xhr instanceof XMLHttpRequest) {
+ this._previousXhr = this._xhr;
+ }
+
this._xhr = new XMLHttpRequest();
this._xhr.open(this._options.type, this._options.url, true);
this._xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8');
var self = this;
this._xhr.onload = function() {
if (this.readyState === XMLHttpRequest.DONE) {
- if (this.stauts >= 200 && this.status < 300 || this.status === 304) {
+ if (this.status >= 200 && this.status < 300 || this.status === 304) {
self._success(this);
}
else {
* Do not call this method, it exists for compatibility with WCF.Action.Proxy
* and will be removed at some point without further notice.
*
+ * @deprecated 2.2
+ *
* @param {string} key option name
* @param {*} value option value
*/