management of session expired was updated

git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace@81057 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2013-09-04 14:36:35 +00:00
parent cc97e089e8
commit 88767424d6
1 changed files with 4 additions and 2 deletions

View File

@ -518,7 +518,8 @@ public class AppController implements SubscriberInterface {
public void onFailure(Throwable caught) {
if(caught instanceof SessionExpiredException){
eventBus.fireEvent(new SessionExpiredEvent());
GWT.log("Session expired");
viewSessionExpiredPanel();
return;
}
@ -1026,7 +1027,8 @@ public class AppController implements SubscriberInterface {
public void onFailure(Throwable caught) {
if(caught instanceof SessionExpiredException){
eventBus.fireEvent(new SessionExpiredEvent());
GWT.log("Session expired");
viewSessionExpiredPanel();
return;
}