OpenLayers OpenLayers

Ticket #1329: WFS.js.diff

File WFS.js.diff, 0.9 kB (added by sbenthall, 7 months ago)

Patch for WFS.js

  • WFS.js

    old new  
    2121     * APIProperty: wfsns 
    2222     */ 
    2323    wfsns: "http://www.opengis.net/wfs", 
     24 
     25    /** 
     26     * APIProperty: service 
     27     */ 
     28    service: "WFS", 
    2429     
    2530    /* 
    2631     * Constructor: OpenLayers.Format.WFS 
     
    6065         
    6166        var transaction = this.createElementNS('http://www.opengis.net/wfs', 'wfs:Transaction'); 
    6267        transaction.setAttribute("version","1.0.0"); 
    63         transaction.setAttribute("service","WFS"); 
     68        transaction.setAttribute("service",this.service); 
    6469        for (var i=0; i < features.length; i++) { 
    6570            switch (features[i].state) { 
    6671                case OpenLayers.State.INSERT: