diff options
author | Tom Needham <needham.thomas@gmail.com> | 2012-01-24 00:59:37 +0400 |
---|---|---|
committer | Tom Needham <needham.thomas@gmail.com> | 2012-01-24 00:59:37 +0400 |
commit | e1a499f65d84aeb11e598ea8d34f4ff5627fc4bd (patch) | |
tree | 9060d170b593fb9fa7297afb9e48cd86f5e78bb1 /apps | |
parent | c2183427c3ea52a8f0660425b1a063c0a6bfd141 (diff) |
disable keyboard shortcuts as temp fix
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_texteditor/js/editor.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_texteditor/js/editor.js b/apps/files_texteditor/js/editor.js index cb1af3dd6db..6e154bedb9c 100644 --- a/apps/files_texteditor/js/editor.js +++ b/apps/files_texteditor/js/editor.js @@ -234,6 +234,7 @@ function hideFileEditor(){ // Keyboard Shortcuts var ctrlBtn = false; +// TODO fix detection of ctrl keyup // returns true if ctrl+s or cmd+s is being pressed function checkForSaveKeyPress(e){ if(e.which == 17 || e.which == 91) ctrlBtn=true; @@ -276,5 +277,5 @@ $(document).ready(function(){ bindControlEvents(); // Binds the save keyboard shortcut events - $(document).unbind('keydown').bind('keydown',checkForSaveKeyPress); + //$(document).unbind('keydown').bind('keydown',checkForSaveKeyPress); }); |