[fusion-commits] r2437 - trunk/widgets
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Mon Oct 10 01:47:12 EDT 2011
Author: liuar
Date: 2011-10-09 22:47:12 -0700 (Sun, 09 Oct 2011)
New Revision: 2437
Modified:
trunk/widgets/Legend.js
Log:
Fix #365 Layer (if themed) initially expanded in legend doesn't work
isOpen: layer.expandInLegend should be open: layer.expandInLegend.
Parameter "open" is required in the constructor of Jx.TreeFolder?.
Modified: trunk/widgets/Legend.js
===================================================================
--- trunk/widgets/Legend.js 2011-10-05 14:22:32 UTC (rev 2436)
+++ trunk/widgets/Legend.js 2011-10-10 05:47:12 UTC (rev 2437)
@@ -687,7 +687,7 @@
createFolderItem: function(layer) {
var opt = {
label: layer.legendLabel == '' ? ' ' : layer.legendLabel,
- isOpen: layer.expandInLegend,
+ open: layer.expandInLegend,
// contextMenu: this.getContextMenu(),
image: this.imgLayerThemeIcon
};
More information about the fusion-commits
mailing list