From 08fcc1e7e27c4c9328c761ecee6c607e788c8ae9 Mon Sep 17 00:00:00 2001 From: Chris Sharp Date: Mon, 7 May 2018 08:31:56 -0400 Subject: [PATCH] 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 --- Open-ILS/web/js/ui/default/staff/circ/in_house_use/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 6d0d3522fd..357f9a3a4f 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 @@ -44,7 +44,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 = []; -- 2.11.0