OpenLayers OpenLayers

Changeset 2811

Show
Ignore:
Timestamp:
03/17/07 16:06:26 (2 years ago)
Author:
crschmidt
Message:

Aplly patch from hobu for #539. This fixes a broken commitSuccess method.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/lib/OpenLayers/Layer/WFS.js

    r2805 r2811  
    284284        var response = request.responseText; 
    285285        if (response.indexOf('SUCCESS') != -1) { 
    286             this.report('WFS Transaction: SUCCESS', response); 
     286            this.commitReport('WFS Transaction: SUCCESS', response); 
    287287             
    288288            for(var i = 0; i < this.features.length; i++) { 
     
    293293        } else if (response.indexOf('FAILED') != -1 || 
    294294            response.indexOf('Exception') != -1) { 
    295             this.report('WFS Transaction: FAILED', response); 
     295            this.commitReport('WFS Transaction: FAILED', response); 
    296296        } 
    297297    },