From cc096b62df1dbde30a43a793e34411eb05fb92a2 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sat, 4 Feb 2023 23:54:22 +0000 Subject: [PATCH] Bug 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 Signed-off-by: David Nind Signed-off-by: Nick Clemens Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 5a5034792c5269ef11f2acddd3d6055886cded06) Signed-off-by: Martin Renvoize (cherry picked from commit b9abcea244ecc43762fab6a607ea3564b2da1291) Signed-off-by: Lucas Gass (cherry picked from commit 7c94ccd664cd7162d3c20229c7eb4cc5bc5ee4c5) Signed-off-by: danyonsewell (Cherry picked from commit 7c94ccd664cd7162d3c20229c7eb4cc5bc5ee4c5) --- 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 a433a8c10b..44a14f9354 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 @@ -72,7 +72,11 @@
  1. - + [% IF ( spec == "" ) %] + + [% ELSE %] + + [% END %] Required
  2. -- 2.39.5