Skip to content

Commit

Permalink
keypresses should not be processed in edit mode - close #883
Browse files Browse the repository at this point in the history
  • Loading branch information
vakata committed Oct 23, 2014
1 parent ecab555 commit a52dab7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions dist/jstree.js
Original file line number Diff line number Diff line change
Expand Up @@ -714,6 +714,7 @@
}, this))
// quick searching when the tree is focused
.on('keypress.jstree', $.proxy(function (e) {
if(e.target.tagName === "INPUT") { return true; }
if(tout) { clearTimeout(tout); }
tout = setTimeout(function () {
word = '';
Expand Down
Loading

0 comments on commit a52dab7

Please sign in to comment.