IDEMPIERE-5626 Kill All session, popup strange message (#1722)

This commit is contained in:
hengsin 2023-03-13 22:41:01 +08:00 committed by GitHub
parent 1bc5370dbb
commit efe0e14e57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -19,7 +19,6 @@ import org.adempiere.webui.util.ZKUpdateUtil;
import org.compiere.util.Env; import org.compiere.util.Env;
import org.compiere.util.Msg; import org.compiere.util.Msg;
import org.zkoss.zhtml.Script; import org.zkoss.zhtml.Script;
import org.zkoss.zk.ui.Executions;
import org.zkoss.zk.ui.event.Event; import org.zkoss.zk.ui.event.Event;
import org.zkoss.zk.ui.event.Events; import org.zkoss.zk.ui.event.Events;
import org.zkoss.zk.ui.util.Clients; import org.zkoss.zk.ui.util.Clients;
@ -143,9 +142,8 @@ public class TimeoutPanel extends Window implements
if (event.getName().equals("onTimer")) if (event.getName().equals("onTimer"))
{ {
timer.stop(); timer.stop();
SessionManager.logoutSession();
Executions.sendRedirect("/index.zul");
Clients.confirmClose(null); Clients.confirmClose(null);
SessionManager.logoutSession();
} }
} }
} }