[Commits] r2331 - core/trunk/geoext/lib/GeoExt/data

commits at geoext.org commits at geoext.org
Fri Sep 10 16:15:00 CEST 2010


Author: fredj
Date: 2010-09-10 16:15:00 +0200 (Fri, 10 Sep 2010)
New Revision: 2331

Modified:
   core/trunk/geoext/lib/GeoExt/data/FeatureStore.js
Log:
remove global variable. Non-functional change.

Modified: core/trunk/geoext/lib/GeoExt/data/FeatureStore.js
===================================================================
--- core/trunk/geoext/lib/GeoExt/data/FeatureStore.js	2010-09-10 14:02:47 UTC (rev 2330)
+++ core/trunk/geoext/lib/GeoExt/data/FeatureStore.js	2010-09-10 14:15:00 UTC (rev 2331)
@@ -265,7 +265,7 @@
                 var record = this.getRecordFromFeature(feature);
                 if(record !== undefined) {
                     record.beginEdit();
-                    attributes = feature.attributes;
+                    var attributes = feature.attributes;
                     if(attributes) {
                         var fields = this.recordType.prototype.fields;
                         for(var i=0, len=fields.length; i<len; i++) {



More information about the Commits mailing list