[Commits] r1346 - core/trunk/geoext/lib/GeoExt/widgets/tree

commits at geoext.org commits at geoext.org
Tue Sep 1 14:21:25 CEST 2009


Author: elemoine
Date: 2009-09-01 14:21:25 +0200 (Tue, 01 Sep 2009)
New Revision: 1346

Modified:
   core/trunk/geoext/lib/GeoExt/widgets/tree/LayerLoader.js
Log:
add missing vars, no functional change


Modified: core/trunk/geoext/lib/GeoExt/widgets/tree/LayerLoader.js
===================================================================
--- core/trunk/geoext/lib/GeoExt/widgets/tree/LayerLoader.js	2009-09-01 11:15:32 UTC (rev 1345)
+++ core/trunk/geoext/lib/GeoExt/widgets/tree/LayerLoader.js	2009-09-01 12:21:25 UTC (rev 1346)
@@ -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