POS Search Fixed

This commit is contained in:
Kanchan Chauhan 2016-04-04 14:39:29 +05:30
parent 5ea0799f83
commit 7379fd4b9a

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);