git-svn-id: http://svn.openlayers.org/trunk/openlayers@1381 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2006-08-26 10:14:41 +00:00
parent b9c6293b2c
commit d486e1964b
+2 -2
View File
@@ -33,12 +33,12 @@ OpenLayers.Layer.WMS.Untiled.prototype =
* @param {String} url * @param {String} url
* @param {Object} params * @param {Object} params
*/ */
initialize: function(name, url, params) { initialize: function(name, url, params, options) {
var newArguments = new Array(); var newArguments = new Array();
if (arguments.length > 0) { if (arguments.length > 0) {
//uppercase params //uppercase params
params = OpenLayers.Util.upperCaseObject(params); params = OpenLayers.Util.upperCaseObject(params);
newArguments.push(name, url, params); newArguments.push(name, url, params, options);
} }
OpenLayers.Layer.HTTPRequest.prototype.initialize.apply(this, OpenLayers.Layer.HTTPRequest.prototype.initialize.apply(this,
newArguments); newArguments);