Bug 24649: Fix missing <li> tag on item editor for cloned subfield
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Thu, 13 Feb 2020 08:56:35 +0000 (08:56 +0000)
committerJoy Nelson <joy@bywatersolutions.com>
Thu, 5 Mar 2020 01:11:30 +0000 (01:11 +0000)
commita6dc3c436c6cc01b9fd4f4e5fb576b9734d8a204
tree6c85fc864c3a5ebab125399d3fce6dee3d643e56
parentcc43ee0685ff3c895442fdb2c6c13fe076a1ba7d
Bug 24649: Fix missing <li> tag on item editor for cloned subfield

Instead of the parentNode (which is a div), we need the parent of the div
(which is a li).
So a simple fix.

Test plan:
To see the difference, test first without patch applied:
Mark item subfield, say URI, as repeatable.
Clone that subfield in item editor.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt