mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-28 18:23:35 +00:00
added ability to remove files
This commit is contained in:
parent
01228254a1
commit
01954fda9b
4 changed files with 74 additions and 6 deletions
|
|
@ -13,13 +13,15 @@ var CloudCommander;
|
|||
ENTER : 13,
|
||||
ESC : 27,
|
||||
|
||||
PAGE_UP : 33,
|
||||
PAGE_UP : 33,
|
||||
PAGE_DOWN : 34,
|
||||
END : 35,
|
||||
HOME : 36,
|
||||
UP : 38,
|
||||
DOWN : 40,
|
||||
|
||||
Delete : 46,
|
||||
|
||||
D : 68,
|
||||
|
||||
O : 79,
|
||||
|
|
@ -107,6 +109,9 @@ var CloudCommander;
|
|||
else if(event.keyCode === lKEY.F2){
|
||||
|
||||
}
|
||||
else if(event.keyCode === lKEY.Delete){
|
||||
Util.removeCurrent(lCurrentFile);
|
||||
}
|
||||
|
||||
/* if f3 or shift+f3 pressed */
|
||||
else if(event.keyCode === lKEY.F3){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue