[occur] allowing other commands

This commit is contained in:
Robert Krahn 2013-03-17 05:32:47 -07:00
commit f351c9de38

View file

@ -85,7 +85,7 @@ oop.inherits(OccurKeyboardHandler, HashHandler);
var handleKeyboard$super = this.handleKeyboard;
this.handleKeyboard = function(data, hashId, key, keyCode) {
var cmd = handleKeyboard$super.call(this, data, hashId, key, keyCode);
return (cmd && cmd.command) ? cmd : {command: "null", passEvent: true};
return (cmd && cmd.command) ? cmd : undefined;
}
}).call(OccurKeyboardHandler.prototype);