From 423d694dbd99b1d3d5dc1f19830479f836a4a9bb Mon Sep 17 00:00:00 2001 From: Jane Sandberg Date: Thu, 8 Nov 2018 16:01:57 -0800 Subject: [PATCH] LP1752968: Autofocus the barcode input on the holdings editor. To test: 1) Do a catalog search and click on one of the records. 2) Click "Add Holdings" 3) Note that there is no focus in the barcode field. 4) Apply this commit. 5) Repeat steps 1-2. Note that there is now focus in the barcode field. Signed-off-by: Jane Sandberg --- Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js b/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js index 0928b7cadb..2b46ffdfcf 100644 --- a/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js +++ b/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js @@ -488,7 +488,7 @@ function(egCore , $q) { '
'+ ''+ + ' type="text" ng-model="barcode" ng-change="updateBarcode()" autofocus />'+ '
{{duplicate_barcode_string}}
'+ '
{{empty_barcode_string}}
'+ '
'+ -- 2.11.0