]> git.koha-community.org Git - koha.git/commit
Bug 37373: Combine duplicate class attributes
authorOwen Leonard <oleonard@myacpl.org>
Fri, 26 Jul 2024 16:32:12 +0000 (16:32 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Thu, 29 Aug 2024 17:36:02 +0000 (17:36 +0000)
commit3962b68b463a73372f2dd2289af52ac180f7d28c
tree5f35ac8a82599d57690a0f752f1913f377793f71
parent3c8539bc6b4952922fe80c6e6714efb85b9ed9f1
Bug 37373: Combine duplicate class attributes

This patch corrects two instances in patron-search.inc where there were
two class attributes on one input. Combining the two class names under
one class attribute seems to fix the focus problem.

The patch also updates the global JS giving focus to elements with a
"focus" class so that it only targets elements which are visible. This
prevents the browser from trying to put focus on a field in a hidden
modal.

Signed-off-by: Andrew Fuerste Henry <andrewfh@dubcolib.org>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit d56226d7378f627d46012a8f2dcf196c1d99c002)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc
koha-tmpl/intranet-tmpl/prog/js/staff-global.js