Bugzilla – Attachment 98797 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.69 KB, created by
Marcel de Rooy
on 2020-02-13 09:37:38 UTC
(
hide
)
Description:
Bug 24649: Fix missing <li> tag on item editor for cloned subfield
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2020-02-13 09:37:38 UTC
Size:
1.69 KB
patch
obsolete
>From 9ded39f92107cf74dab6e1083ef325675b1fe98b 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 >Content-Type: text/plain; charset=utf-8 > >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> >--- > 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 641053149c..9149bb23e9 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt >@@ -197,7 +197,7 @@ > <input type="hidden" name="subfield" value="[% ite.subfield | html %]" /> > <input type="hidden" name="mandatory" value="[% ite.mandatory | 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