#874 - stop global namespace pollution and actually set state on features instead of i - thanks crschmidt for the test

git-svn-id: http://svn.openlayers.org/trunk/openlayers@3838 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Tim Schaub
2007-08-02 18:04:47 +00:00
parent e9a488c264
commit b09585b603
3 changed files with 9 additions and 2 deletions

View File

@@ -342,7 +342,7 @@ OpenLayers.Layer.WFS = OpenLayers.Class(
this.commitReport('WFS Transaction: SUCCESS', response);
for(var i = 0; i < this.features.length; i++) {
i.state = null;
this.features[i].state = null;
}
// TBD redraw the layer or reset the state of features
// foreach features: set state to null