From 229b1c468f4cfae49de94af80bfb0d7157820188 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Wed, 26 Aug 2015 09:40:23 -0500 Subject: [PATCH] IDEMPIERE-1328 Change tab name dynamically / fix issue not refreshing Record Info --- .../webui/adwindow/AbstractADWindowContent.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/AbstractADWindowContent.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/AbstractADWindowContent.java index 57c7488536..f764f253cf 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/AbstractADWindowContent.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/AbstractADWindowContent.java @@ -1337,6 +1337,11 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements if (!detailTab) { String dbInfo = e.getMessage(); + if (logger.isLoggable(Level.INFO)) logger.info(dbInfo); + if (adTabbox.getSelectedGridTab() != null && adTabbox.getSelectedGridTab().isQueryActive()) + dbInfo = "[ " + dbInfo + " ]"; + breadCrumb.setStatusDB(dbInfo, e); + String adInfo = e.getAD_Message(); if ( ! prevdbInfo.equals(dbInfo) && ( GridTab.DEFAULT_STATUS_MESSAGE.equals(adInfo) @@ -1346,10 +1351,6 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements ) ) { prevdbInfo = dbInfo; - if (logger.isLoggable(Level.INFO)) logger.info(dbInfo); - if (adTabbox.getSelectedGridTab() != null && adTabbox.getSelectedGridTab().isQueryActive()) - dbInfo = "[ " + dbInfo + " ]"; - breadCrumb.setStatusDB(dbInfo, e); String prefix = null; if (dbInfo.contains("*"))