IDEMPIERE-5626 Kill All session, popup strange message (#1722)
This commit is contained in:
parent
1bc5370dbb
commit
efe0e14e57
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue