diff --git a/HELP.md b/HELP.md index 4a798be8..c41ae39e 100644 --- a/HELP.md +++ b/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 diff --git a/lib/client/menu.js b/lib/client/menu.js index 27dd60b0..c838436b 100644 --- a/lib/client/menu.js +++ b/lib/client/menu.js @@ -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,