[Koha-bugs] [Bug 31653] jQuery upgrade broke search button hover effect

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Sep 29 16:06:25 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31653

Lucas Gass <lucas at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #141088|0                           |1
        is obsolete|                            |

--- Comment #4 from Lucas Gass <lucas at bywatersolutions.com> ---
Created attachment 141089
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=141089&action=edit
Bug 31653: Correct event names passed to jQuery on() function

This patch replaces the obsolete .on("hover") with .on("mouseenter
mouseleave"). This will allow the code to work again following the last
jQuery upgrade.

See Bug 20217 for discussion of the original implementation:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20217#c14

To test, apply the patch and go to the staff interface. Hover your mouse
over the "Search" link in the header menu. The adjacent dropdown menu
button should have its hover state triggered.

Signed-off-by: David Nind <david at davidnind.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list