From c3adf6702e52d4c9f11d126245cf737fad6763c1 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sat, 4 Feb 2023 23:54:22 +0000 Subject: [PATCH] dBug 31405: Set focus for cursor to setSpec input when adding a new OAI set Makes sure the focus is in the first form field when adding a new OAI set: setSpec To test: * Go to administration > OAI sets * Add a new set, verify the focus is still in the search bar on top * Apply patch * Repeat and verify the focus is now in the first form field * Save set * Edit set and verify the focus is in the search field at the top Signed-off-by: Owen Leonard --- koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_sets.tt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_sets.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_sets.tt index a2dbfbc4bc..2d3a7e1a29 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_sets.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_sets.tt @@ -64,7 +64,11 @@
  1. - + [% IF ( spec == "" ) %] + + [% ELSE %] + + [% END %] Required
  2. -- 2.30.2