[fusion-commits] r1652 - trunk/widgets
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Fri Nov 7 15:44:08 EST 2008
Author: pagameba
Date: 2008-11-07 15:44:08 -0500 (Fri, 07 Nov 2008)
New Revision: 1652
Modified:
trunk/widgets/Legend.js
Log:
Re #164, restore legend icons that were inadvertantly deleted in r1640
Modified: trunk/widgets/Legend.js
===================================================================
--- trunk/widgets/Legend.js 2008-11-07 20:24:49 UTC (rev 1651)
+++ trunk/widgets/Legend.js 2008-11-07 20:44:08 UTC (rev 1652)
@@ -617,6 +617,8 @@
} else if (!style) {
opt.image = this.imgDisabledLayerIcon;
opt.enabled = false;
+ } else {
+ opt.image = style.getLegendImageURL(scale, layer);
}
var item = new Jx.TreeItem(opt);
More information about the fusion-commits
mailing list