[occur] allowing other commands
This commit is contained in:
parent
fe3e92a3f9
commit
f351c9de38
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ oop.inherits(OccurKeyboardHandler, HashHandler);
|
||||||
var handleKeyboard$super = this.handleKeyboard;
|
var handleKeyboard$super = this.handleKeyboard;
|
||||||
this.handleKeyboard = function(data, hashId, key, keyCode) {
|
this.handleKeyboard = function(data, hashId, key, keyCode) {
|
||||||
var cmd = handleKeyboard$super.call(this, 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);
|
}).call(OccurKeyboardHandler.prototype);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue