From e1a499f65d84aeb11e598ea8d34f4ff5627fc4bd Mon Sep 17 00:00:00 2001 From: Tom Needham Date: Mon, 23 Jan 2012 20:59:37 +0000 Subject: [PATCH] disable keyboard shortcuts as temp fix --- apps/files_texteditor/js/editor.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); }); -- 2.39.5