[mapguide-commits] r6918 - trunk/MgDev/Web/src/viewerfiles

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Tue Jul 24 04:57:14 PDT 2012


Author: jng
Date: 2012-07-24 04:57:13 -0700 (Tue, 24 Jul 2012)
New Revision: 6918

Modified:
   trunk/MgDev/Web/src/viewerfiles/ajaxmappane.templ
Log:
#2079: The initial building of visible and selected layers is dependent on the legendExpanded variable being true. When the legend is not enabled, the initial construction never happens (because legendExpanded is false), thus GetVisSelLayers() will always be returning an empty string, meaning selections do nothing.

Modified: trunk/MgDev/Web/src/viewerfiles/ajaxmappane.templ
===================================================================
--- trunk/MgDev/Web/src/viewerfiles/ajaxmappane.templ	2012-07-24 11:25:33 UTC (rev 6917)
+++ trunk/MgDev/Web/src/viewerfiles/ajaxmappane.templ	2012-07-24 11:57:13 UTC (rev 6918)
@@ -1784,7 +1784,7 @@
 
 function OnMapLoaded()
 {
-    if(scaleChanged && legendExpanded)
+    if(scaleChanged)
     {
         UpdateLegendScale();
     }



More information about the mapguide-commits mailing list