Skip to content

Commit

Permalink
Merge pull request #592 from scireum/sbi/OX-5120
Browse files Browse the repository at this point in the history
Resets completion filter when focused input field is clicked
  • Loading branch information
jmuscireum authored Mar 5, 2019
2 parents ba1e16b + af94dbf commit 6a1eb57
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,15 @@
});

this.element.click(function () {
if (completions.isVisible()) {
return;
}
if (localSource.configured) {
localSource.load($(this).val());
}
if (service.configured && service.minSize === 0) {
service.load($(this).val());
}
completions.show();
});
}
Expand Down

0 comments on commit 6a1eb57

Please sign in to comment.