[OpenLayers-Commits] r11134 - trunk/openlayers/lib/OpenLayers
commits-20090109 at openlayers.org
commits-20090109 at openlayers.org
Thu Feb 17 10:08:18 EST 2011
Author: bartvde
Date: 2011-02-17 07:08:18 -0800 (Thu, 17 Feb 2011)
New Revision: 11134
Modified:
trunk/openlayers/lib/OpenLayers/Request.js
Log:
add missing part for #3055
Modified: trunk/openlayers/lib/OpenLayers/Request.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Request.js 2011-02-17 15:04:53 UTC (rev 11133)
+++ trunk/openlayers/lib/OpenLayers/Request.js 2011-02-17 15:08:18 UTC (rev 11134)
@@ -126,7 +126,7 @@
// create request, open, and set headers
var request = new OpenLayers.Request.XMLHttpRequest();
var url = OpenLayers.Util.urlAppend(config.url,
- OpenLayers.Util.getParameterString(config.params));
+ OpenLayers.Util.getParameterString(config.params || {}));
var sameOrigin = !(url.indexOf("http") == 0);
var urlParts = !sameOrigin && url.match(this.URL_SPLIT_REGEX);
if (urlParts) {
More information about the Commits
mailing list