Fixed auto-refresh to update only the files of the current folder
[pithos-web-client] / src / gr / grnet / pithos / web / client / FileVersionsDialog.java
index 30ba867..b58a9be 100644 (file)
@@ -62,10 +62,6 @@ import com.google.gwt.user.client.ui.VerticalPanel;
  */\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
@@ -121,8 +117,6 @@ public class FileVersionsDialog extends AbstractPropertiesDialog {
                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
@@ -202,6 +196,6 @@ public class FileVersionsDialog extends AbstractPropertiesDialog {
                                if (file.isShared())\r
                                        app.updateMySharedRoot();\r
                        }\r
-               });\r
+               }, true);\r
        }\r
 }\r