[OpenLayers-Commits] r12340 - trunk/openlayers/lib/OpenLayers/Request

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Wed Sep 7 15:26:03 EDT 2011


Author: marcjansen
Date: 2011-09-07 12:26:02 -0700 (Wed, 07 Sep 2011)
New Revision: 12340

Modified:
   trunk/openlayers/lib/OpenLayers/Request/XMLHttpRequest.js
Log:
Revert my accidental commit [12335].

Modified: trunk/openlayers/lib/OpenLayers/Request/XMLHttpRequest.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Request/XMLHttpRequest.js	2011-09-07 17:45:46 UTC (rev 12339)
+++ trunk/openlayers/lib/OpenLayers/Request/XMLHttpRequest.js	2011-09-07 19:26:02 UTC (rev 12340)
@@ -217,9 +217,6 @@
         }
     };
     function fXMLHttpRequest_send(oRequest) {
-        // always set the X-Requested-With:-header
-        // oRequest._object.setRequestHeader("X-Requested-With", "XMLHttpRequest");
-        
         oRequest._object.send(oRequest._data);
 
         // BUGFIX: Gecko - missing readystatechange calls in synchronous requests



More information about the Commits mailing list