Merge pull request #5129 from KanchanChauhan/POS-Search

[Minor Fix]POS Search Fixed
This commit is contained in:
Anand Doshi 2016-04-04 15:22:39 +05:30
commit 1d50bbfad1

View File

@ -86,7 +86,7 @@ erpnext.pos.PointOfSale = Class.extend({
only_input: true,
});
this.search.make_input();
this.search.$input.on("keypress", function() {
this.search.$input.on("keyup", function() {
if(!me.search.autocomplete_open)
if(me.item_timeout)
clearTimeout(me.item_timeout);