From 2cbf7e9047be901ac67c8de8939f79141404cfc8 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Sat, 20 Feb 2016 13:52:14 +0100 Subject: [PATCH] IDEMPIERE-1328 Change tab name dynamically / fix issue not refreshing tab name on update --- .../org/adempiere/webui/adwindow/AbstractADWindowContent.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 bb24014a8f..f576621a09 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 @@ -1344,7 +1344,8 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements String adInfo = e.getAD_Message(); if ( ! prevdbInfo.equals(dbInfo) - && ( GridTab.DEFAULT_STATUS_MESSAGE.equals(adInfo) + && ( adInfo == null + || GridTab.DEFAULT_STATUS_MESSAGE.equals(adInfo) || GridTable.DATA_REFRESH_MESSAGE.equals(adInfo) || GridTable.DATA_INSERTED_MESSAGE.equals(adInfo) || GridTable.DATA_UPDATE_COPIED_MESSAGE.equals(adInfo)