Mercurial > dive4elements > river
changeset 4216:a04862abce42
Don't redirect to the login page without query params
Don't redirect to the login page without query params for the development mode.
Therefore just reload the page after the user object is removed from the session
and GGInAFilter will redirect to the correct long URL.
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Tue, 23 Oct 2012 10:50:48 +0200 |
parents | c179cd02177d |
children | 08b6458909a9 |
files | flys-client/src/main/java/de/intevation/flys/client/client/ui/MainMenu.java |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/MainMenu.java Tue Oct 23 09:59:16 2012 +0200 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/MainMenu.java Tue Oct 23 10:50:48 2012 +0200 @@ -99,7 +99,9 @@ } public void onSuccess(Void result) { - Window.Location.replace("/login.jsp"); + /* Just reload the page. GGInAFilter is goint to redirect + * to the correct login page */ + Window.Location.reload(); } });