]> git.koha-community.org Git - koha.git/commit
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)
committerLucas Gass <lucas@bywatersolutions.com>
Mon, 9 Mar 2020 20:26:19 +0000 (20:26 +0000)
commitfdf8ad9d663b42d1c969194ff5bde3f99e0b2ebf
tree9b92adc4c37d08e9b3e2e9f31f8a1d8843ad54a0
parent4539ac13180ba87a913aa5afcb73425401620ee9
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>
(cherry picked from commit a6dc3c436c6cc01b9fd4f4e5fb576b9734d8a204)
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt