Bugzilla – Attachment 155081 Details for
Bug 33744
Plugins not working on duplicated MARC fields
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33744: Fix cloning (sub)fields with framework plugins
Bug-33744-Fix-cloning-subfields-with-framework-plu.patch (text/plain), 1.68 KB, created by
Marcel de Rooy
on 2023-09-01 09:28:20 UTC
(
hide
)
Description:
Bug 33744: Fix cloning (sub)fields with framework plugins
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2023-09-01 09:28:20 UTC
Size:
1.68 KB
patch
obsolete
>From a635972ac60b7518fe5e53ecbb60aaeacff1f216 Mon Sep 17 00:00:00 2001 >From: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> >Date: Tue, 16 May 2023 11:14:01 +0000 >Subject: [PATCH] Bug 33744: Fix cloning (sub)fields with framework plugins >Content-Type: text/plain; charset=utf-8 > >This patch is meant as a temporary measure for fixing the problem. >Bug 30975 may resolve it further, but this is good for now. > >Note: The original commit message referred to removing a deprecated internal >structure. But this patch actually still uses the structure which has been >moved to _data in jQuery now. > >Test plan: >1) Apply patch >2) Repeat steps in the original bug description >3) This time clicking on the Upload button for a cloned field should launch the uploads pop up. > >Signed-off-by: David Nind <david@davidnind.com> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > koha-tmpl/intranet-tmpl/prog/js/cataloging.js | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/cataloging.js b/koha-tmpl/intranet-tmpl/prog/js/cataloging.js >index 602ae9ceaf..8808df2c71 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/cataloging.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/cataloging.js >@@ -436,7 +436,7 @@ function AddEventHandlers (oldcontrol, newcontrol, newinputid ) { > // newinputid is the id attribute of the cloned controlling input field > // Note: This code depends on the jQuery data for events; this structure > // is moved to _data as of jQuery 1.8. >- var ev= $(oldcontrol).data('events'); >+ var ev = $._data(oldcontrol, "events"); > if(typeof ev != 'undefined') { > $.each(ev, function(prop,val) { > $.each(val, function(prop2,val2) { >-- >2.30.2
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 33744
:
151270
|
153538
|
154796
| 155081