diff --git a/lib/OpenLayers/Layer/WFS.js b/lib/OpenLayers/Layer/WFS.js index 4461546b86..d9902ec52c 100644 --- a/lib/OpenLayers/Layer/WFS.js +++ b/lib/OpenLayers/Layer/WFS.js @@ -283,7 +283,7 @@ OpenLayers.Layer.WFS.prototype = commitSuccess: function(request) { var response = request.responseText; if (response.indexOf('SUCCESS') != -1) { - this.report('WFS Transaction: SUCCESS', response); + this.commitReport('WFS Transaction: SUCCESS', response); for(var i = 0; i < this.features.length; i++) { i.state = null; @@ -292,7 +292,7 @@ OpenLayers.Layer.WFS.prototype = // foreach features: set state to null } else if (response.indexOf('FAILED') != -1 || response.indexOf('Exception') != -1) { - this.report('WFS Transaction: FAILED', response); + this.commitReport('WFS Transaction: FAILED', response); } },