Allow search without keypress enter
This commit is contained in:
parent
2f7cb82ca0
commit
2558daf6b7
@ -427,7 +427,7 @@ erpnext.pos.PointOfSale = erpnext.taxes_and_totals.extend({
|
||||
|
||||
this.serach_item.make_input();
|
||||
this.serach_item.$input.on("keypress", function (event) {
|
||||
if((me.serach_item.$input.val() != "") && (event.which == 13)){
|
||||
if((me.serach_item.$input.val() != "") || (event.which == 13)){
|
||||
me.items = me.get_items();
|
||||
me.make_item_list();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user