minor change to Protocol.CSW to deal with the situation where the GeoExt ProtocolProxy is configured with setParamsAsOptions true
This commit is contained in:
@@ -61,7 +61,7 @@ OpenLayers.Protocol.CSW.v2_0_2 = OpenLayers.Class(OpenLayers.Protocol, {
|
|||||||
OpenLayers.Util.applyDefaults(options, this.options || {});
|
OpenLayers.Util.applyDefaults(options, this.options || {});
|
||||||
var response = new OpenLayers.Protocol.Response({requestType: "read"});
|
var response = new OpenLayers.Protocol.Response({requestType: "read"});
|
||||||
|
|
||||||
var data = this.format.write(options.params);
|
var data = this.format.write(options.params || options);
|
||||||
|
|
||||||
response.priv = OpenLayers.Request.POST({
|
response.priv = OpenLayers.Request.POST({
|
||||||
url: options.url,
|
url: options.url,
|
||||||
|
|||||||
Reference in New Issue
Block a user