[OpenLayers-Users] fix for NS_ERROR_NOT_INITIALIZED
Pascal Martin
pascal.martin at boreal-is.com
Mon Dec 7 13:47:33 EST 2009
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20091207/740b4657/attachment.html
-------------- next part --------------
Index: XMLHttpRequest.js
===================================================================
--- XMLHttpRequest.js (révision 9859)
+++ XMLHttpRequest.js (copie de travail)
@@ -197,7 +197,8 @@
this._object.setRequestHeader("Content-Type", "application/xml");
}
- this._object.send(vData);
+ if (!this._aborted)this._object.send(vData);
+ this._object.send(vData);
// BUGFIX: Gecko - missing readystatechange calls in synchronous requests
if (bGecko && !this._async) {
More information about the Users
mailing list