]> 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)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Mon, 11 Dec 2023 18:41:25 +0000 (19:41 +0100)
commit494ee7c68f1dc8437df0b53e55c35e758ccc3c27
tree8fb9d7d25713529b2c9afb9b27b5f8591e8975e4
parent8ba9ea8a87e0d6653261d90d743cd75328ad0b99
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>
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