From 8b84a014475776ecca2c8296bf5232a3d84b2247 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Mon, 13 Dec 2021 13:11:00 -0500 Subject: [PATCH] LP1904036 Route dialog autoprint race condition repair Signed-off-by: Bill Erickson Signed-off-by: Jane Sandberg Signed-off-by: Galen Charlton --- .../app/staff/share/circ/route-dialog.component.ts | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Open-ILS/src/eg2/src/app/staff/share/circ/route-dialog.component.ts b/Open-ILS/src/eg2/src/app/staff/share/circ/route-dialog.component.ts index f9aa4de..490e065 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/circ/route-dialog.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/share/circ/route-dialog.component.ts @@ -95,7 +95,7 @@ export class RouteDialogComponent extends DialogComponent { if (this.checkin.params.auto_print_holds_transits || this.circ.suppressCheckinPopups) { // Print and exit. - return this.print().then(_ => true); // exit + return promise.then(_ => this.print()).then(_ => true); // exit } return promise.then(_ => false); // keep going -- 1.7.2.5