added ability to remove files

This commit is contained in:
coderaiser 2012-09-18 03:52:51 -04:00
parent 01228254a1
commit 01954fda9b
4 changed files with 74 additions and 6 deletions

View file

@ -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){