show the "folder refresh" option even if no file is selected
authorfstamatelopoulos <devnull@localhost>
Fri, 8 May 2009 14:51:28 +0000 (14:51 +0000)
committerfstamatelopoulos <devnull@localhost>
Fri, 8 May 2009 14:51:28 +0000 (14:51 +0000)
gss/src/gr/ebs/gss/client/FileContextMenu.java

index c2ca6a3..faa9696 100644 (file)
@@ -129,6 +129,7 @@ public class FileContextMenu extends PopupPanel implements ClickListener {
                                                                                                                                                                                                                                                                        .getCurrent()))
                                        if(GSS.get().getFolders().getCurrent().getUserObject() instanceof FolderResource)
                                                contextMenu.addItem("<span>" + newImages.fileUpdate().getHTML() + "&nbsp;Upload</span>", true, new UploadFileCommand(this, images));
+                       contextMenu.addItem("<span>" + images.refresh().getHTML() + "&nbsp;Refresh</span>", true, new RefreshCommand(this, images));
                } else if (isTrash) {
                        contextMenu.addItem("<span>" + newImages.versions().getHTML() + "&nbsp;Restore</span>", true, new RestoreTrashCommand(this));
                        contextMenu.addItem("<span>" + newImages.delete().getHTML() + "&nbsp;Delete</span>", true, new DeleteCommand(this, images));