[Commits] r2347 - core/trunk/geoext/lib/GeoExt/data
commits at geoext.org
commits at geoext.org
Tue Sep 14 11:25:10 CEST 2010
Author: fredj
Date: 2010-09-14 11:25:10 +0200 (Tue, 14 Sep 2010)
New Revision: 2347
Modified:
core/trunk/geoext/lib/GeoExt/data/FeatureStore.js
Log:
use setFeature function. r=ahocevar (closes #133)
Modified: core/trunk/geoext/lib/GeoExt/data/FeatureStore.js
===================================================================
--- core/trunk/geoext/lib/GeoExt/data/FeatureStore.js 2010-09-14 07:04:55 UTC (rev 2346)
+++ core/trunk/geoext/lib/GeoExt/data/FeatureStore.js 2010-09-14 09:25:10 UTC (rev 2347)
@@ -282,9 +282,7 @@
// endEdit
record.set("state", feature.state);
record.set("fid", feature.fid);
- // Ext 3.0 does not allow circular references in objects passed
- // to record.set
- record.data["feature"] = feature;
+ record.setFeature(feature);
this._updating = true;
record.endEdit();
delete this._updating;
More information about the Commits
mailing list