hashHandler may return empty command

This commit is contained in:
nightwing 2011-11-20 14:13:31 +04:00
commit 52ea224893

View file

@ -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;
}