From: Mike Rylander Date: Fri, 12 Dec 2014 19:01:59 +0000 (-0500) Subject: LP#1402797 Apply focus in the .finally() in case there was a popup X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=0bc1a174b0ed23b34921b4b9ad66731a96202859;p=evergreen%2Fmasslnc.git LP#1402797 Apply focus in the .finally() in case there was a popup Signed-off-by: Mike Rylander Signed-off-by: Kathy Lussier --- 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 }); }