[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
Wed May 3 10:00:03 CEST 2023


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

--- Comment #29 from Lari Strand <lmstrand at gmail.com> ---
(In reply to Lari Strand from comment #28)
> We use our custom value builder plugins for adding various keywords from an
> online vocabulary using dynamically created select2 elements. These patches
> fixed the issue with plugins not initialising on cloned fields. I needed to
> change the code so the plugin gets initialised with a click-function,
> formerly mouseover in the input field.
>  
> "Events removed: change, mouseover, mouseout, mousedown, mouseup,
>    mousemove, keydown, keypress, keyup.
> If you ever need one of those, you can still add event listeners in
>    the 'focus' event handler, and remove them in the 'blur' event
>    handler"
> 
> How would I bring mouseover back as a valid function in code? What kind of
> performance issues do you mean by "'mouseover' and 'mousemove' are not used
> and would trigger too much events."?
> 
> I also received a report that the patch breaks field/subfield cloning on
> Firefox 78.12.0esr. Apparently the field does not get cloned and the page
> goes to the top. They've tried to clear the browser cache. Does this make
> any sense?

Also reportedly for fixed fields (000, 006, 007 and 008) Koha's own editors
stopped working with this older ESR version of Firefox. Newer browser versions
and for example switching to Edge everything was ok.

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


More information about the Koha-bugs mailing list