IDEMPIERE-1328 Change tab name dynamically / fix issue not refreshing Record Info
This commit is contained in:
parent
b8671ca91e
commit
229b1c468f
|
@ -1337,6 +1337,11 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements
|
||||||
if (!detailTab)
|
if (!detailTab)
|
||||||
{
|
{
|
||||||
String dbInfo = e.getMessage();
|
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();
|
String adInfo = e.getAD_Message();
|
||||||
if ( ! prevdbInfo.equals(dbInfo)
|
if ( ! prevdbInfo.equals(dbInfo)
|
||||||
&& ( GridTab.DEFAULT_STATUS_MESSAGE.equals(adInfo)
|
&& ( GridTab.DEFAULT_STATUS_MESSAGE.equals(adInfo)
|
||||||
|
@ -1346,10 +1351,6 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements
|
||||||
)
|
)
|
||||||
) {
|
) {
|
||||||
prevdbInfo = dbInfo;
|
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;
|
String prefix = null;
|
||||||
if (dbInfo.contains("*"))
|
if (dbInfo.contains("*"))
|
||||||
|
|
Loading…
Reference in New Issue