]> git.koha-community.org Git - koha.git/commit
Bug 35425: Optimize UX when dragging a tag or subfield
authorAndrii Nugged <nugged@gmail.com>
Thu, 16 Nov 2023 16:20:55 +0000 (18:20 +0200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 12 Dec 2023 07:39:23 +0000 (21:39 -1000)
commit95c36cb3882efdf436924f49dd364c050f65d259
tree703591e276a8a1a9ae683624b2ca0fd60d82696c
parentaad41dd27a37ab42a6aa9606d56a031b6f67a180
Bug 35425: Optimize UX when dragging a tag or subfield

To reproduce:
1. Open any biblio and edit that record.
   (select "Edit record" from the "Edit" drop-down menu).
2. Check that selecting the text in any draggable block input/textarea
   fields with a mouse is not possible - it starts dragging instantly.
3. Apply the patch
4. Make sure that draging is activated only when you click
   on the "::" icon in front of the dragged item. And text selection
   works correctly.

Signed-off-by: Phil Ringnalda <phil@chetcolibrary.org>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 494ee7c68f1dc8437df0b53e55c35e758ccc3c27)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/css/addbiblio.css
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt
koha-tmpl/intranet-tmpl/prog/js/cataloging.js