Bug 36388: Mouse operation does not work in draggable fields in authority editor
authorJanusz Kaczmarek <januszop@gmail.com>
Thu, 21 Mar 2024 15:20:24 +0000 (16:20 +0100)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 10 May 2024 12:11:48 +0000 (14:11 +0200)
commit6e09fb6ad8eaab2e219c01cc332b404ad89088c0
tree49f8a542b98528fd618da064d83db23a4e42bc1a
parent95d68c6bbd930c8b3bf8d27acea7a16e0fbfccb3
Bug 36388: Mouse operation does not work in draggable fields in authority editor

When using the authority editor in Firefox, it is not possible to set
the cursor or select text from the text field.

This patch mimics the corrections made in bug 35425 for biblio editor.

Test plan:
==========
1. Start editing an existing authority record and try to put the cursor
   with the mouse in the middle of the content of any subfield or to
   select text with the mouse. It should not be possilbe.
2. Apply the patch (reload plack etc.).
3. Repeat p. 1 - everything should work as expected.

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt
koha-tmpl/intranet-tmpl/prog/js/cataloging.js