IDEMPIERE-5740 Dashboard Views Gadget doesn't translate *24.png image name to z-icon name (#1859)
This commit is contained in:
parent
295454b6e9
commit
6db8752c93
|
@ -152,7 +152,12 @@ public class DPViews extends DashboardPanel implements EventListener<Event> {
|
|||
|
||||
if (ThemeManager.isUseFontIconForImage())
|
||||
{
|
||||
if (image.endsWith("16.png"))
|
||||
image = image.replace("16.png", "");
|
||||
else if (image.endsWith("24.png"))
|
||||
image = image.replace("24.png", "");
|
||||
else if (image.endsWith(".png"))
|
||||
image = image.replace(".png", "");
|
||||
btnViewItem.setIconSclass("z-icon-"+image);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue