From 0bc1a174b0ed23b34921b4b9ad66731a96202859 Mon Sep 17 00:00:00 2001 From: Mike Rylander Date: Fri, 12 Dec 2014 14:01:59 -0500 Subject: [PATCH] LP#1402797 Apply focus in the .finally() in case there was a popup Signed-off-by: Mike Rylander Signed-off-by: Kathy Lussier --- Open-ILS/web/js/ui/default/staff/circ/patron/checkout.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Open-ILS/web/js/ui/default/staff/circ/patron/checkout.js b/Open-ILS/web/js/ui/default/staff/circ/patron/checkout.js index 6b87ed4cbb..11500264ae 100644 --- a/Open-ILS/web/js/ui/default/staff/circ/patron/checkout.js +++ b/Open-ILS/web/js/ui/default/staff/circ/patron/checkout.js @@ -91,7 +91,7 @@ function($scope , $q , $modal , $routeParams , egCore , egUser , patronSvc , }); } - $scope.focusMe; // return focus to barcode input + $scope.focusMe = true; // return focus to barcode input } function send_checkout(params) { @@ -146,6 +146,8 @@ function($scope , $q , $modal , $routeParams , egCore , egUser , patronSvc , // barcode from the pending list. if (params.copy_barcode) delete pending_barcodes[params.copy_barcode]; + + $scope.focusMe = true; // return focus to barcode input }); } -- 2.11.0