From 0f2dae9c862e5622ee8a5fbe5df0c28309c2f687 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Thu, 18 Aug 2022 20:48:44 +0000 Subject: [PATCH] Bug 31399: Set focus on first input when adding a new classification source, filing rule, or splitting rule This makes sure the cursor/focus is always in the first form field when adding an entry on the classification configuration page. * Got to administration > classification sources * Verify for each of the three "New ..." buttons on top that the entry form has no focus on any field * Apply patch * Repeat testing the new forms and the focus now should always be in the first input field of the entry form Signed-off-by: David Nind --- .../prog/en/modules/admin/classsources.tt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/classsources.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/classsources.tt index b2fbe881bd..c8af609983 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/classsources.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/classsources.tt @@ -161,12 +161,12 @@ Classification sources › Administration › Koha
  1. [% IF class_source %] - Classification source code: + Classification source code: [% class_source.cn_source | html %] [% ELSE %] - + Required [% END %]
  2. @@ -176,7 +176,7 @@ Classification sources › Administration › Koha
  3. [% IF ( class_source.used ) %][% ELSE %] - [% END %] + [% END %]
  4. @@ -225,12 +225,12 @@ Classification sources › Administration › Koha
    1. [% IF sort_rule %] - Filing rule code: + Filing rule code: [% sort_rule.class_sort_rule | html %] [% ELSE %] - + Required [% END %]
    2. @@ -276,7 +276,7 @@ Classification sources › Administration › Koha [% split_rule.class_split_rule | html %] [% ELSE %] - + Required [% END %] -- 2.30.2