]> git.koha-community.org Git - koha.git/commit
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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 24 May 2024 15:29:37 +0000 (17:29 +0200)
commite867769d0971c2982ecb32dc74dc5fe2925bec38
tree7710f0b678ffba897534e07252b88374ae69e316
parent268e6bf0ff717e18ccb79b1d3a5fe2c38a300b88
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>
(cherry picked from commit 6e09fb6ad8eaab2e219c01cc332b404ad89088c0)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
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