Fixed scrolling issue after uploading (issue #2442)
[pithos-web-client] / src / gr / grnet / pithos / web / client / SessionExpiredDialog.java
index 6eb7c7b..199c81a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2011 GRNET S.A. All rights reserved.
+ * Copyright 2011-2012 GRNET S.A. All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or
  * without modification, are permitted provided that the following
@@ -73,7 +73,7 @@ public class SessionExpiredDialog extends DialogBox {
                // when the button is clicked.
                Button confirm = new Button("Proceed", new ClickHandler() {
                        @Override
-                       public void onClick(@SuppressWarnings("unused") ClickEvent event) {
+                       public void onClick(ClickEvent event) {
                                app.authenticateUser();
                                hide();
                        }
@@ -99,12 +99,6 @@ public class SessionExpiredDialog extends DialogBox {
                                        app.authenticateUser();
                                        hide();
                                        break;
-                               case KeyCodes.KEY_ESCAPE:
-                                       hide();
-                                       break;
                        }
        }
-
-
-
 }