[Koha-bugs] [Bug 30975] Framework plugins do not work on cloned fields/subfields

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Sep 20 09:33:37 CEST 2022


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

--- Comment #8 from Julian Maurice <julian.maurice at biblibre.com> ---
(In reply to Katrin Fischer from comment #7)
> Also not sure about removing events - some libraires may have used them and
> is there a strong reason to remove?

I removed them for performance reasons. With the method used (event
delegation), some events like mouseover or mousemove would get triggered all
the time. And while I was at it, I removed all unused ones. Maybe I've gone too
far ?
But should we support all framework plugins potentially existing in the wild ?

> Could we imagine a less invasive fix to the problem, that could also be
> applied to stable releases?

For stable releases we can have a different fix that use the not recommended
method `jQuery._data(element, "events")`. But for master I think we should not
use this method.

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


More information about the Koha-bugs mailing list