OpenLayers OpenLayers

Ticket #729: wfst.patch

File wfst.patch, 0.6 kB (added by openlayers, 1 year ago)

Patch to fix this issue

  • lib/OpenLayers/Format/WFS.js

    old new  
    4747    write: function(features) { 
    4848         
    4949        var transaction = document.createElementNS('http://www.opengis.net/wfs', 'wfs:Transaction'); 
     50        transaction.setAttribute("version","1.0.0"); 
     51        transaction.setAttribute("service","WFS"); 
    5052        for (var i=0; i < features.length; i++) { 
    5153            switch (features[i].state) { 
    5254                case OpenLayers.State.INSERT: