Fixed auto-refresh to update only the files of the current folder
[pithos-web-client] / src / gr / grnet / pithos / web / client / FileVersionsDialog.java
index ab0b4b7..b58a9be 100644 (file)
@@ -54,7 +54,6 @@ import com.google.gwt.user.client.ui.Button;
 import com.google.gwt.user.client.ui.CheckBox;\r
 import com.google.gwt.user.client.ui.FocusPanel;\r
 import com.google.gwt.user.client.ui.HasHorizontalAlignment;\r
 import com.google.gwt.user.client.ui.CheckBox;\r
 import com.google.gwt.user.client.ui.FocusPanel;\r
 import com.google.gwt.user.client.ui.HasHorizontalAlignment;\r
-import com.google.gwt.user.client.ui.PopupPanel;\r
 import com.google.gwt.user.client.ui.VerticalPanel;\r
 \r
 /**\r
 import com.google.gwt.user.client.ui.VerticalPanel;\r
 \r
 /**\r
@@ -63,10 +62,6 @@ import com.google.gwt.user.client.ui.VerticalPanel;
  */\r
 public class FileVersionsDialog extends AbstractPropertiesDialog {\r
 \r
  */\r
 public class FileVersionsDialog extends AbstractPropertiesDialog {\r
 \r
-       protected PermissionsList permList;\r
-\r
-       protected CheckBox readForAll;\r
-\r
        /**\r
         * An image bundle for this widgets images.\r
         */\r
        /**\r
         * An image bundle for this widgets images.\r
         */\r
@@ -122,8 +117,6 @@ public class FileVersionsDialog extends AbstractPropertiesDialog {
                inner = new VerticalPanel();\r
                inner.addStyleName("inner");\r
 \r
                inner = new VerticalPanel();\r
                inner.addStyleName("inner");\r
 \r
-               fetchVersions();\r
-\r
                outer.add(inner);\r
 \r
                // Create the 'OK' button, along with a listener that hides the dialog\r
                outer.add(inner);\r
 \r
                // Create the 'OK' button, along with a listener that hides the dialog\r
@@ -144,7 +137,7 @@ public class FileVersionsDialog extends AbstractPropertiesDialog {
         setWidget(outer);\r
        }\r
 \r
         setWidget(outer);\r
        }\r
 \r
-       private void doCenter() {\r
+       void doCenter() {\r
                super.center();\r
        }\r
        \r
                super.center();\r
        }\r
        \r
@@ -203,6 +196,6 @@ public class FileVersionsDialog extends AbstractPropertiesDialog {
                                if (file.isShared())\r
                                        app.updateMySharedRoot();\r
                        }\r
                                if (file.isShared())\r
                                        app.updateMySharedRoot();\r
                        }\r
-               });\r
+               }, true);\r
        }\r
 }\r
        }\r
 }\r