We have a Format.WFS that works in IE now -- by doing so, it means it is
spitting out a string, not an object, so this patch removes the Ajax.serializeToString on the string which was breaking. r=tschaub (Closes #1355) git-svn-id: http://svn.openlayers.org/trunk/openlayers@6314 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -440,17 +440,11 @@ OpenLayers.Layer.WFS = OpenLayers.Class(
|
||||
var data = this.writer.write(this.features);
|
||||
|
||||
var url = this.url;
|
||||
if (OpenLayers.ProxyHost &&
|
||||
OpenLayers.String.startsWith(this.url, "http")) {
|
||||
url = OpenLayers.ProxyHost + escape(this.url);
|
||||
}
|
||||
|
||||
var success = OpenLayers.Function.bind(this.commitSuccess, this);
|
||||
|
||||
var failure = OpenLayers.Function.bind(this.commitFailure, this);
|
||||
|
||||
data = OpenLayers.Ajax.serializeXMLToString(data);
|
||||
|
||||
// from prototype.js
|
||||
new OpenLayers.Ajax.Request(url,
|
||||
{ method: 'post',
|
||||
|
||||
Reference in New Issue
Block a user