[Commits] r1347 - sandbox/camptocamp/geobretagne/lib/GeoExt/widgets/tree

commits at geoext.org commits at geoext.org
Tue Sep 1 14:22:18 CEST 2009


Author: elemoine
Date: 2009-09-01 14:22:18 +0200 (Tue, 01 Sep 2009)
New Revision: 1347

Modified:
   sandbox/camptocamp/geobretagne/lib/GeoExt/widgets/tree/LayerLoader.js
Log:
add missing vars, no functional change


Modified: sandbox/camptocamp/geobretagne/lib/GeoExt/widgets/tree/LayerLoader.js
===================================================================
--- sandbox/camptocamp/geobretagne/lib/GeoExt/widgets/tree/LayerLoader.js	2009-09-01 12:21:25 UTC (rev 1346)
+++ sandbox/camptocamp/geobretagne/lib/GeoExt/widgets/tree/LayerLoader.js	2009-09-01 12:22:18 UTC (rev 1347)
@@ -277,7 +277,7 @@
                 "add": this.onStoreAdd.createDelegate(this, [node], true),
                 "remove": this.onStoreRemove.createDelegate(this, [node], true)
             };
-            for(evt in this._storeHandlers) {
+            for(var evt in this._storeHandlers) {
                 this.store.on(evt, this._storeHandlers[evt], this);
             }
         }
@@ -287,7 +287,7 @@
      */
     removeStoreHandlers: function() {
         if(this._storeHandlers) {
-            for(evt in this._storeHandlers) {
+            for(var evt in this._storeHandlers) {
                 this.store.un(evt, this._storeHandlers[evt], this);
             }
             delete this._storeHandlers;
@@ -314,4 +314,4 @@
     destroy: function() {
         this.removeStoreHandlers();
     }
-});
\ No newline at end of file
+});



More information about the Commits mailing list