From efe0e14e575b1c6690e8009a36f192a05d919be8 Mon Sep 17 00:00:00 2001 From: hengsin Date: Mon, 13 Mar 2023 22:41:01 +0800 Subject: [PATCH] IDEMPIERE-5626 Kill All session, popup strange message (#1722) --- .../WEB-INF/src/org/adempiere/webui/panel/TimeoutPanel.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/TimeoutPanel.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/TimeoutPanel.java index 7329a4918b..1ce4228d6e 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/TimeoutPanel.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/TimeoutPanel.java @@ -19,7 +19,6 @@ import org.adempiere.webui.util.ZKUpdateUtil; import org.compiere.util.Env; import org.compiere.util.Msg; import org.zkoss.zhtml.Script; -import org.zkoss.zk.ui.Executions; import org.zkoss.zk.ui.event.Event; import org.zkoss.zk.ui.event.Events; import org.zkoss.zk.ui.util.Clients; @@ -143,9 +142,8 @@ public class TimeoutPanel extends Window implements if (event.getName().equals("onTimer")) { timer.stop(); - SessionManager.logoutSession(); - Executions.sendRedirect("/index.zul"); Clients.confirmClose(null); + SessionManager.logoutSession(); } } }