[fusion-commits] r1497 - sandbox/jx2/widgets
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Thu Sep 4 16:43:52 EDT 2008
Author: madair
Date: 2008-09-04 16:43:52 -0400 (Thu, 04 Sep 2008)
New Revision: 1497
Modified:
sandbox/jx2/widgets/Legend.js
Log:
fix error with MG legend
Modified: sandbox/jx2/widgets/Legend.js
===================================================================
--- sandbox/jx2/widgets/Legend.js 2008-09-04 18:35:28 UTC (rev 1496)
+++ sandbox/jx2/widgets/Legend.js 2008-09-04 20:43:52 UTC (rev 1497)
@@ -565,9 +565,9 @@
layer.legend.treeItem = null;
}
} else {
- layer.legend.treeItem.checkBox.disabled = true;
var newTreeItem = this.createTreeItem(layer, null, null, this.bIncludeVisToggle);
if (layer.legend.treeItem) {
+ layer.legend.treeItem.checkBox.disabled = true;
layer.parentGroup.legend.treeItem.replace(newTreeItem, layer.legend.treeItem);
layer.legend.treeItem.finalize();
} else {
More information about the fusion-commits
mailing list