Bugzilla – Attachment 98958 Details for
Bug 24649
Cloning item subfields misses a <li> tag
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24649: Fix missing <li> tag on item editor for cloned subfield
Bug-24649-Fix-missing-li-tag-on-item-editor-for-cl.patch (text/plain), 1.76 KB, created by
Katrin Fischer
on 2020-02-14 14:56:12 UTC
(
hide
)
Description:
Bug 24649: Fix missing <li> tag on item editor for cloned subfield
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2020-02-14 14:56:12 UTC
Size:
1.76 KB
patch
obsolete
>From 41cec8b2d01318a15b136081e375d2e9dab265e7 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Thu, 13 Feb 2020 08:56:35 +0000 >Subject: [PATCH] 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> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt >index 74c659fc6d..9862aa4b8d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt >@@ -198,7 +198,7 @@ > <input type="hidden" name="mandatory" value="[% ite.mandatory | html %]" /> > <input type="hidden" name="important" value="[% ite.important | html %]" /> > [% IF ( ite.repeatable ) %] >- <a href="#" class="buttonPlus" onclick="CloneItemSubfield(this.parentNode); return false;"> >+ <a href="#" class="buttonPlus" onclick="CloneItemSubfield(this.parentNode.parentNode); return false;"> > <img src="[% interface | html %]/[% theme | html %]/img/clone-subfield.png" alt="Clone" title="Clone this subfield" /> > </a> > [% END %] >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 24649
:
98794
|
98795
|
98797
|
98798
|
98829
|
98887
|
98888
|
98949
| 98958 |
98959