From: Bill Erickson Date: Wed, 26 Jan 2022 17:09:53 +0000 (-0500) Subject: LP1904036 Patron edit replace barcode fixes X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=a88c5804b5870fc6217b4b3b0b379cbb2515c494;p=Evergreen.git LP1904036 Patron edit replace barcode fixes Signed-off-by: Bill Erickson Signed-off-by: Jane Sandberg Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/eg2/src/app/staff/circ/patron/edit.component.ts b/Open-ILS/src/eg2/src/app/staff/circ/patron/edit.component.ts index f9282963cf..c5afd227f8 100644 --- a/Open-ILS/src/eg2/src/app/staff/circ/patron/edit.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/circ/patron/edit.component.ts @@ -1611,6 +1611,13 @@ export class EditComponent implements OnInit, AfterViewInit { this.patron.card(card); this.patron.cards().push(card); + + // Focus the barcode input + setTimeout(() => { + this.emitSaveState(); + const node = document.getElementById('ac-barcode-input'); + node.focus(); + }); } showBarcodes() {