From 8f810cb7f30a561d11bb024301f5455058a8cb60 Mon Sep 17 00:00:00 2001 From: Christos Stathis Date: Fri, 25 May 2012 15:47:44 +0300 Subject: [PATCH] Fixed positioning of upload alert --- src/gr/grnet/pithos/web/client/Pithos.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/gr/grnet/pithos/web/client/Pithos.java b/src/gr/grnet/pithos/web/client/Pithos.java index a2d0dcc..992916f 100644 --- a/src/gr/grnet/pithos/web/client/Pithos.java +++ b/src/gr/grnet/pithos/web/client/Pithos.java @@ -227,7 +227,7 @@ public class Pithos implements EntryPoint, ResizeHandler { /** * The bottom panel that contains the status bar. */ - private StatusPanel statusPanel = null; + StatusPanel statusPanel = null; /** * The file list widget. @@ -1394,11 +1394,10 @@ public class Pithos implements EntryPoint, ResizeHandler { @Override public void setPosition(int offsetWidth, int offsetHeight) { - uploadAlert.setPopupPosition((Window.getClientWidth() - offsetWidth)/2, Window.getClientHeight() - offsetHeight); + uploadAlert.setPopupPosition((Window.getClientWidth() - offsetWidth)/2, statusPanel.getAbsoluteTop() - offsetHeight); } }); - else - uploadAlert.setNumOfFiles(nOfFiles); + uploadAlert.setNumOfFiles(nOfFiles); } public void hideUploadAlert() { -- 1.7.10.4