[Koha-bugs] [Bug 31653] New: jQuery upgrade broke search button hover effect
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Sep 29 14:16:57 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31653
Bug ID: 31653
Summary: jQuery upgrade broke search button hover effect
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: ASSIGNED
Severity: trivial
Priority: P5 - low
Component: Templates
Assignee: oleonard at myacpl.org
Reporter: oleonard at myacpl.org
QA Contact: testopia at bugs.koha-community.org
CC: testopia at bugs.koha-community.org
Depends on: 29155
Created attachment 141083
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=141083&action=edit
Gif showing the intended behavior
When we upgrade jQuery I missed an instance of deprecated code: "hover" is no
longer an alias for "mouseenter mouseleave" when used with on(). Instead of...
$("a").on("hover", function...
...we must use...
$("a").on("mouseenter mouseleave", function...
This change broken the hover action which is supposed to be triggered when the
user's mouse interacts with the "Search" button in the header menu. See
attached gif.
Referenced Bugs:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29155
[Bug 29155] Upgrade jquery version to 3.6.0
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list