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

commits at geoext.org commits at geoext.org
Mon Jun 22 09:47:11 CEST 2009


Author: ahocevar
Date: 2009-06-22 09:47:11 +0200 (Mon, 22 Jun 2009)
New Revision: 1118

Modified:
   core/trunk/geoext/lib/GeoExt/widgets/tree/LayerNode.js
Log:
Now that we have assigned layerStore, use it instead of this.layerStore. Non-functional change (see #96)

Modified: core/trunk/geoext/lib/GeoExt/widgets/tree/LayerNode.js
===================================================================
--- core/trunk/geoext/lib/GeoExt/widgets/tree/LayerNode.js	2009-06-20 13:08:24 UTC (rev 1117)
+++ core/trunk/geoext/lib/GeoExt/widgets/tree/LayerNode.js	2009-06-22 07:47:11 UTC (rev 1118)
@@ -346,9 +346,9 @@
         delete this.layer;
         var layerStore = this.layerStore;
         if(layerStore) {
-            this.layerStore.un("add", this.onStoreAdd, this);
-            this.layerStore.un("remove", this.onStoreRemove, this);
-            this.layerStore.un("update", this.onStoreUpdate, this);
+            layerStore.un("add", this.onStoreAdd, this);
+            layerStore.un("remove", this.onStoreRemove, this);
+            layerStore.un("update", this.onStoreUpdate, this);
         }
         delete this.layerStore;
         this.un("checkchange", this.onCheckChange, this);



More information about the Commits mailing list