OpenLayers OpenLayers

Changeset 7150

Show
Ignore:
Timestamp:
05/13/08 14:36:29 (2 months ago)
Author:
sbenthall
Message:

WFS protocol. removed dummy callback on commit. corrected pointer to format.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sandbox/vector-behavior/lib/OpenLayers/Protocol/WFS/v1_0_0.js

    r7143 r7150  
    290290        return OpenLayers.Request.POST({ 
    291291            url: this.url, 
    292             callback: OpenLayers.Console.log, //quick fix, 
    293292            data: data 
    294293        });       
     
    332331    create: function(feature) { 
    333332        var node = this.format.createElementNSPlus("wfs:Insert"); 
    334  
    335         // TODO: this should deal with alt formats 
    336         node.appendChild(this.layer.format.createFeatureXML(feature,true)); 
     333         
     334        node.appendChild(this.format.createFeatureXML(feature,true)); 
    337335 
    338336        return node;