From 52ea224893c1fa7ecbe2e1ed79850ede6b38cd2b Mon Sep 17 00:00:00 2001 From: nightwing Date: Sun, 20 Nov 2011 14:13:31 +0400 Subject: [PATCH] hashHandler may return empty command --- lib/ace/keyboard/keybinding.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ace/keyboard/keybinding.js b/lib/ace/keyboard/keybinding.js index d8fe9fdc..e1ab4faf 100644 --- a/lib/ace/keyboard/keybinding.js +++ b/lib/ace/keyboard/keybinding.js @@ -80,7 +80,7 @@ var KeyBinding = function(editor) { var toExecute = this.$handlers[i].handleKeyboard( this.$data, hashId, keyString, keyCode, e ); - if (toExecute) + if (toExecute && toExecute.command) break; }