Revision 006ec41a src/gr/grnet/pithos/web/client/FolderContextMenu.java
b/src/gr/grnet/pithos/web/client/FolderContextMenu.java | ||
---|---|---|
107 | 107 |
} |
108 | 108 |
} |
109 | 109 |
|
110 |
MenuItem copy = new MenuItem("<span id = 'folderContextMenu.copy'>" + AbstractImagePrototype.create(newImages.copy()).getHTML() + " Copy</span>", true, new CopyCommand(app, this, folder)); |
|
111 |
contextMenu.addItem(copy); |
|
110 |
if (!folder.isContainer()) { |
|
111 |
MenuItem copy = new MenuItem("<span id = 'folderContextMenu.copy'>" + AbstractImagePrototype.create(newImages.copy()).getHTML() + " Copy</span>", true, new CopyCommand(app, this, folder)); |
|
112 |
contextMenu.addItem(copy); |
|
113 |
} |
|
112 | 114 |
|
113 | 115 |
if (canWrite) { |
114 | 116 |
if (!app.getClipboard().isEmpty()) { |
Also available in: Unified diff