From 546c47ab3fcd380ee3f7be5902fd969d0ebbc3a8 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 7 Feb 2023 13:40:29 +0000 Subject: [PATCH] Bug 32886: Set focus for cursor to Code when adding a new restriction This patch adds the "focus" class to the form for defining a new patron restriction so that the cursor focus is automatically added. To test, apply the patch and go to Administration -> Patron restrictions -> New restriction. The cursor should automatically move to the "Code" input field. Signed-off-by: Matt Blenkinsop Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt index ff749415f9..c81eb99801 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt @@ -120,7 +120,7 @@ [% ELSE %]
  • - + Required
  • -- 2.39.5