IDEMPIERE-1328 Change tab name dynamically / fix issue not refreshing tab name on update

This commit is contained in:
Carlos Ruiz 2016-02-20 13:52:14 +01:00
parent fb48e96904
commit 2cbf7e9047
1 changed files with 2 additions and 1 deletions

View File

@ -1344,7 +1344,8 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements
String adInfo = e.getAD_Message(); String adInfo = e.getAD_Message();
if ( ! prevdbInfo.equals(dbInfo) 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_REFRESH_MESSAGE.equals(adInfo)
|| GridTable.DATA_INSERTED_MESSAGE.equals(adInfo) || GridTable.DATA_INSERTED_MESSAGE.equals(adInfo)
|| GridTable.DATA_UPDATE_COPIED_MESSAGE.equals(adInfo) || GridTable.DATA_UPDATE_COPIED_MESSAGE.equals(adInfo)