from now CodeMirror js files loads, when f4 key pressd

This commit is contained in:
coderaiser 2012-07-30 05:06:56 -04:00
parent b1ee070dcd
commit 4ef45e73fe

View file

@ -54,10 +54,15 @@ CloudCommander.keyBinding=(function(){
}catch(error){console.log(error);}
}
/* if f3 pressed */
else if(event.keyCode===114){
if (typeof CloudCommander.Viewer === 'function'){
else if(event.keyCode===114){
if (typeof CloudCommander.Viewer === 'function')
CloudCommander.Viewer();
}
}
/* if f4 pressed */
else if(event.keyCode === 115) {
if (typeof CloudCommander.Editor === 'function')
CloudCommander.Editor();
}
/* навигация по таблице файлов*/
/* если нажали клавишу вверх*/