mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-24 15:39:20 +00:00
focus on barcode field after adding a row
This commit is contained in:
@@ -492,7 +492,7 @@ erpnext.POS = Class.extend({
|
|||||||
});
|
});
|
||||||
|
|
||||||
me.refresh_delete_btn();
|
me.refresh_delete_btn();
|
||||||
if(me.frm.doc[this.party]) {
|
if(me.frm.doc[this.party.toLowerCase()]) {
|
||||||
this.barcode.$input.focus();
|
this.barcode.$input.focus();
|
||||||
} else {
|
} else {
|
||||||
this.party_field.$input.focus();
|
this.party_field.$input.focus();
|
||||||
|
|||||||
Reference in New Issue
Block a user