]> 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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 17 Feb 2020 10:36:58 +0000 (10:36 +0000)
commit46b5849f30c102177033e349c5cda791b5d66f0e
treed626cb496abdc9799d54691763fe4f977b57f131
parent7c9680749fa3a56ee65e823b318b22876a95edce
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>
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt