From a5c52e1a0b675cfc52ae5410c1f69e48faee0727 Mon Sep 17 00:00:00 2001 From: hengsin Date: Wed, 30 Jun 2021 21:38:22 +0800 Subject: [PATCH] IDEMPIERE-4855 Records of Tab level 2 disappear in particular case. (#751) * IDEMPIERE-4855 Records of Tab level 2 disappear in particular case. --- .../adempiere/webui/adwindow/AbstractADWindowContent.java | 5 +++++ 1 file changed, 5 insertions(+) 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 77a0af299f..90591eff39 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 @@ -1401,6 +1401,11 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements if (value != newTabpanel) { newTabpanel.query(); + if (newTabpanel instanceof ADTabpanel) + { + ADTabpanel adtabpanel = (ADTabpanel) newTabpanel; + Events.echoEvent(ADTabpanel.ON_POST_INIT_EVENT, adtabpanel, null); + } } else {