in src/main/jbake/assets/js/tree.jquery.js [802:825]
KeyHandler.prototype.handleKeyDown = function(e) {
var key;
if (!this.tree_widget.options.keyboardSupport) {
return true;
}
if ($(document.activeElement).is('textarea,input,select')) {
return true;
}
if (!this.tree_widget.getSelectedNode()) {
return true;
}
key = e.which;
switch (key) {
case DOWN:
return this.moveDown();
case UP:
return this.moveUp();
case RIGHT:
return this.moveRight();
case LEFT:
return this.moveLeft();
}
return true;
};