1003576 CLOSE TAB WARINING SHOULDN'T APPEAR WHEN SESSION IS KILLED. Peer review.

This commit is contained in:
Heng Sin Low 2013-12-19 16:59:29 +08:00
parent cd58305761
commit 9dff6966e0
1 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,7 @@ 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;
import org.zkoss.zul.Borderlayout;
import org.zkoss.zul.Center;
import org.zkoss.zul.Div;
@ -143,6 +144,7 @@ public class TimeoutPanel extends Window implements
timer.stop();
SessionManager.logoutSession();
Executions.sendRedirect("/index.zul");
Clients.confirmClose(null);
}
}
}