[fusion-commits] r2090 - trunk/widgets
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Fri Mar 5 00:14:06 EST 2010
Author: liuar
Date: 2010-03-05 00:14:00 -0500 (Fri, 05 Mar 2010)
New Revision: 2090
Modified:
trunk/widgets/Legend.js
Log:
Fixed ticket #365 Layer (if themed) initially expanded in legend doesn't work
Modified: trunk/widgets/Legend.js
===================================================================
--- trunk/widgets/Legend.js 2010-03-02 02:30:38 UTC (rev 2089)
+++ trunk/widgets/Legend.js 2010-03-05 05:14:00 UTC (rev 2090)
@@ -668,7 +668,7 @@
createFolderItem: function(layer, hasCheckbox) {
var opt = {
label: layer.legendLabel == '' ? ' ' : layer.legendLabel,
- isOpen: layer.expandInLegend,
+ open: layer.expandInLegend,
draw: hasCheckbox ? this.renderFolderCheckbox : this.renderFolder,
'class':'fusionLegendItemCheckbox',
contextMenu: this.getContextMenu(),
More information about the fusion-commits
mailing list