From a32403d761be236636a5140090935458a881d587 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Wed, 13 Mar 2013 17:38:59 -0500 Subject: [PATCH] IDEMPIERE-736 Payment Allocation appear a vertical line in the inferior right corner --- .../WEB-INF/src/org/adempiere/webui/panel/StatusBarPanel.java | 4 +++- .../src/org/adempiere/webui/window/WAccountDialog.java | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/StatusBarPanel.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/StatusBarPanel.java index 238d415b01..b908cde99e 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/StatusBarPanel.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/StatusBarPanel.java @@ -152,15 +152,17 @@ public class StatusBarPanel extends Panel implements EventListener, IStat */ public void setStatusDB (String text, DataStatusEvent dse) { - if (text == null || text.length() == 0) + if (text == null || text.trim().length() == 0) { statusDB.setValue(""); + statusDB.setVisible(false); } else { StringBuilder sb = new StringBuilder (" "); sb.append(text).append(" "); statusDB.setValue(sb.toString()); + statusDB.setVisible(true); } m_text = text; diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/WAccountDialog.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/WAccountDialog.java index 0241a1e718..e47db530f8 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/WAccountDialog.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/WAccountDialog.java @@ -455,7 +455,7 @@ public final class WAccountDialog extends Window m_adTabPanel.switchRowPresentation(); statusBar.setStatusLine(s_AcctSchema.toString()); - statusBar.setStatusDB("?"); + statusBar.setStatusDB(""); // Initial value if (m_mAccount.C_ValidCombination_ID != 0)