LP#1743854 - Correct initial cursor focus in in-house use UI
authorChris Sharp <csharp@georgialibraries.org>
Mon, 7 May 2018 12:31:56 +0000 (08:31 -0400)
committerDan Wells <dbw2@calvin.edu>
Mon, 7 May 2018 15:30:23 +0000 (11:30 -0400)
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 <csharp@georgialibraries.org>
Signed-off-by: Geoff Sams <gsams@roanoketexas.com>

Open-ILS/web/js/ui/default/staff/circ/in_house_use/app.js

index 8899aca..2dd2e51 100644 (file)
@@ -46,7 +46,7 @@ function($scope , egCore , egGridDataProvider , egConfirmDialog,
         });
     });
 
-    $scope.useFocus = true;
+    $scope.bcFocus = true;
     $scope.args = {noncat_type : 'barcode', num_uses : 1, needsCountWarnModal: false };
     var checkouts = [];