IDEMPIERE-1012 Missing fields on detail when open for edition. Fixed LayoutUtils.removeSclass not working properly.

This commit is contained in:
Heng Sin Low 2013-06-25 08:25:38 +08:00
parent 717c2ca808
commit 7951a35bd6
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ public final class LayoutUtils {
sclass = " " + sclass + " "; sclass = " " + sclass + " ";
cls = " " + cls + " "; cls = " " + cls + " ";
if (sclass.indexOf(cls) >= 0) { if (sclass.indexOf(cls) >= 0) {
sclass.replace(cls, ""); sclass = sclass.replace(cls, " ");
sclass = sclass.trim(); sclass = sclass.trim();
target.setSclass(sclass); target.setSclass(sclass);
} }