From 7951a35bd64a2be62235ef5b3d7d6a481590cece Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Tue, 25 Jun 2013 08:25:38 +0800 Subject: [PATCH] IDEMPIERE-1012 Missing fields on detail when open for edition. Fixed LayoutUtils.removeSclass not working properly. --- .../WEB-INF/src/org/adempiere/webui/LayoutUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/LayoutUtils.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/LayoutUtils.java index c1d05d5ae7..cd50070dfb 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/LayoutUtils.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/LayoutUtils.java @@ -216,7 +216,7 @@ public final class LayoutUtils { sclass = " " + sclass + " "; cls = " " + cls + " "; if (sclass.indexOf(cls) >= 0) { - sclass.replace(cls, ""); + sclass = sclass.replace(cls, " "); sclass = sclass.trim(); target.setSclass(sclass); }