From 9d0fa75d93e732f89c175ee6bd19e7a301f06bf9 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Sun, 4 Oct 2015 20:58:35 -0400 Subject: [PATCH] LP#1452950 focus barcode field For new patrons, focus the barcode field. For existing patrons, disable the barcode field (except when a new barcode is needed) and focus the username field by default. Signed-off-by: Bill Erickson Signed-off-by: Galen Charlton --- Open-ILS/src/templates/staff/circ/patron/t_edit.tt2 | 10 +++++++++- Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js | 5 +++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/Open-ILS/src/templates/staff/circ/patron/t_edit.tt2 b/Open-ILS/src/templates/staff/circ/patron/t_edit.tt2 index 1e7cc71614..2d8e8c3fe6 100644 --- a/Open-ILS/src/templates/staff/circ/patron/t_edit.tt2 +++ b/Open-ILS/src/templates/staff/circ/patron/t_edit.tt2 @@ -65,7 +65,15 @@ [% ELSIF field == 'barcode' %] - + [% ELSIF field == 'usrname' %] + [% ELSE %]