mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
feature(menu) add Copy, Move, Paste
This commit is contained in:
parent
56fb614050
commit
b5a1bac0cd
2 changed files with 8 additions and 1 deletions
3
HELP.md
3
HELP.md
|
|
@ -202,6 +202,9 @@ Right mouse click button shows context menu with items:
|
|||
- View
|
||||
- Edit
|
||||
- Rename
|
||||
- Copy
|
||||
- Move
|
||||
- Paste
|
||||
- Delete
|
||||
- Zip file
|
||||
- Unzip file
|
||||
|
|
|
|||
|
|
@ -6,7 +6,8 @@ var CloudCmd, Util, DOM, CloudFunc, MenuIO;
|
|||
CloudCmd.Menu = MenuProto;
|
||||
|
||||
function MenuProto(position) {
|
||||
var Info = DOM.CurrentInfo,
|
||||
var Buffer = DOM.Buffer,
|
||||
Info = DOM.CurrentInfo,
|
||||
Loading = true,
|
||||
Key = CloudCmd.Key,
|
||||
Events = DOM.Events,
|
||||
|
|
@ -139,6 +140,9 @@ var CloudCmd, Util, DOM, CloudFunc, MenuIO;
|
|||
'Rename' : function() {
|
||||
setTimeout(DOM.renameCurrent, 100);
|
||||
},
|
||||
'Copy' : Buffer.copy,
|
||||
'Move' : Buffer.move,
|
||||
'Paste' : Buffer.paste,
|
||||
'Delete' : DOM.promptDelete,
|
||||
'Zip file' : DOM.zipFile,
|
||||
'Unzip file' : DOM.unzipFile,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue