Revision fba33890 src/gr/grnet/pithos/web/client/FileContextMenu.java
b/src/gr/grnet/pithos/web/client/FileContextMenu.java | ||
---|---|---|
215 | 215 |
contextMenu.addItem(pasteItem); |
216 | 216 |
} |
217 | 217 |
|
218 |
if (canWrite && !isMysharedSelected) { |
|
219 |
MenuItem upload = new MenuItem("<span>" + AbstractImagePrototype.create(images.fileUpdate()).getHTML() + " Upload</span>", true, new UploadFileCommand(app, this, selectedFolder)); |
|
220 |
contextMenu.addItem(upload); |
|
221 |
} |
|
222 | 218 |
if (isFolderTreeSelected || isMysharedSelected) { |
223 | 219 |
cutItem = new MenuItem("<span id='fileContextMenu.cut'>" + AbstractImagePrototype.create(newImages.cut()).getHTML() + " Cut</span>", true, new CutCommand(app, this, selectedFiles)); |
224 | 220 |
contextMenu.addItem(cutItem); |
Also available in: Unified diff