[fusion-commits] r1441 - branches/fusion-1.0/widgets

svn_fusion at osgeo.org svn_fusion at osgeo.org
Thu Jul 17 13:36:05 EDT 2008


Author: madair
Date: 2008-07-17 13:36:05 -0400 (Thu, 17 Jul 2008)
New Revision: 1441

Modified:
   branches/fusion-1.0/widgets/Legend.js
Log:
closes #90: patch applied to 1.0 branch

Modified: branches/fusion-1.0/widgets/Legend.js
===================================================================
--- branches/fusion-1.0/widgets/Legend.js	2008-07-17 17:35:09 UTC (rev 1440)
+++ branches/fusion-1.0/widgets/Legend.js	2008-07-17 17:36:05 UTC (rev 1441)
@@ -326,6 +326,9 @@
         }
     },
     updateGroupLayers: function(group, fScale) {
+        if (!group.displayInLegend) {
+            return;
+        }
         for (var i=0; i<group.groups.length; i++) {
             this.updateGroupLayers(group.groups[i], fScale);
         }



More information about the fusion-commits mailing list