From 258c6e4aacc24562749817e2847d3a78a29ca6ff Mon Sep 17 00:00:00 2001 From: Mike Rylander Date: Fri, 12 Dec 2014 14:01:59 -0500 Subject: [PATCH] Apply focus in the .finally() in case there was a popup Signed-off-by: Mike Rylander --- 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