From 4a7c9c601ea7131cc74b0607d051d0b0032fd39d Mon Sep 17 00:00:00 2001 From: PeterTakacs300 <93127072+PeterTakacs300@users.noreply.github.com> Date: Tue, 22 Feb 2022 23:46:51 +0100 Subject: [PATCH] IDEMPIERE-3831 - css style replaces the entire style, instead of append (#1194) * IDEMPIERE-3831 - css style replaces the entire style, instead of append * IDEMPIERE-3831 - added listcell.getStyle() check * IDEMPIERE-3831 - append style with function ZkCssHelper.appendStyle(component, style) --- .../adempiere/webui/component/WInfoWindowListItemRenderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/WInfoWindowListItemRenderer.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/WInfoWindowListItemRenderer.java index 55883128ae..66cc240952 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/WInfoWindowListItemRenderer.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/WInfoWindowListItemRenderer.java @@ -156,7 +156,7 @@ public class WInfoWindowListItemRenderer extends WListItemRenderer String zclass = styleStr.substring(MStyle.ZCLASS_PREFIX.length()); listcell.setZclass(zclass); } else { - listcell.setStyle(styleStr); + ZkCssHelper.appendStyle(listcell, styleStr); } } }