diff flys-client/src/main/java/de/intevation/flys/client/client/ui/MainMenu.java @ 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 9d7497f5be05
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();
                     }
                 });
 

http://dive4elements.wald.intevation.org