Fix for #729, WFS Transaction attributes missing, reported by Andreas.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@3203 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2007-05-30 09:11:33 +00:00
parent a840844b55
commit 2dd7a8d4b9

View File

@@ -47,6 +47,8 @@ OpenLayers.Format.WFS.prototype =
write: function(features) {
var transaction = document.createElementNS('http://www.opengis.net/wfs', 'wfs:Transaction');
transaction.setAttribute("version","1.0.0");
transaction.setAttribute("service","WFS");
for (var i=0; i < features.length; i++) {
switch (features[i].state) {
case OpenLayers.State.INSERT: