From: Chris Sharp Date: Mon, 7 May 2018 12:31:56 +0000 (-0400) Subject: LP#1743854 - Correct initial cursor focus in in-house use UI X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=7f6d82980d0d8147f926f6da5a5bfe21223e921c;p=working%2FEvergreen.git LP#1743854 - Correct initial cursor focus in in-house use UI Previously, the "Record In-House Use" UI opened with the cursor focused in the "# of Uses" field, which required staff to manually select the "Barcode" field. It is far more intuitive to have the "Barcode" field have initial focus. Signed-off-by: Chris Sharp Signed-off-by: Geoff Sams --- diff --git a/Open-ILS/web/js/ui/default/staff/circ/in_house_use/app.js b/Open-ILS/web/js/ui/default/staff/circ/in_house_use/app.js index 887e60bfd2..1bc90c40f4 100644 --- a/Open-ILS/web/js/ui/default/staff/circ/in_house_use/app.js +++ b/Open-ILS/web/js/ui/default/staff/circ/in_house_use/app.js @@ -45,7 +45,7 @@ function($scope, egCore, egGridDataProvider , egConfirmDialog, egAlertDialog) }); }); - $scope.useFocus = true; + $scope.bcFocus = true; $scope.args = {noncat_type : 'barcode', num_uses : 1, needsCountWarnModal: false }; var checkouts = [];