[fusion-commits] r1527 - branches/fusion-1.1/widgets

svn_fusion at osgeo.org svn_fusion at osgeo.org
Fri Sep 12 15:05:45 EDT 2008


Author: madair
Date: 2008-09-12 15:05:45 -0400 (Fri, 12 Sep 2008)
New Revision: 1527

Modified:
   branches/fusion-1.1/widgets/Legend.js
Log:
re #123: reset the legend layerRoot property after switching maps

Modified: branches/fusion-1.1/widgets/Legend.js
===================================================================
--- branches/fusion-1.1/widgets/Legend.js	2008-09-12 16:53:49 UTC (rev 1526)
+++ branches/fusion-1.1/widgets/Legend.js	2008-09-12 19:05:45 UTC (rev 1527)
@@ -334,6 +334,7 @@
    
     mapLoaded: function() {
         this.getMap().registerForEvent(Fusion.Event.MAP_EXTENTS_CHANGED, this.extentsChangedWatcher);
+        this.layerRoot = this.getMap().layerRoot;
         this.renderLegend();
     },
     



More information about the fusion-commits mailing list