]> 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)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Thu, 1 Aug 2024 16:22:34 +0000 (18:22 +0200)
commitd56226d7378f627d46012a8f2dcf196c1d99c002
tree599edc6d0fefc5150ab9b5b45dfbace00c5d379d
parent94890a1e55735504b2f405c4b82793e3a2e44fc3
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>
koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc
koha-tmpl/intranet-tmpl/prog/js/staff-global.js