[Commits] r164 - sandbox/opengeo/drake/trunk/apps/drake

commits at geoext.org commits at geoext.org
Thu Feb 12 22:35:13 CET 2009


Author: tcoulter
Date: 2009-02-12 22:35:13 +0100 (Thu, 12 Feb 2009)
New Revision: 164

Modified:
   sandbox/opengeo/drake/trunk/apps/drake/index.html
Log:
Even shorter relative scoping (see last change).

Modified: sandbox/opengeo/drake/trunk/apps/drake/index.html
===================================================================
--- sandbox/opengeo/drake/trunk/apps/drake/index.html	2009-02-12 21:33:54 UTC (rev 163)
+++ sandbox/opengeo/drake/trunk/apps/drake/index.html	2009-02-12 21:35:13 UTC (rev 164)
@@ -454,9 +454,7 @@
                 menu.showAt(e.getPoint());
             }, this);  
 
-            this.layerTree.on("layeractivated", function(layer){
-                this.activateLayer(layer);
-            }, this);
+            this.layerTree.on("layeractivated", this.activateLayer, this);
         },
         
         initLegendPanel: function() {



More information about the Commits mailing list