Bug 33744: Fix cloning (sub)fields with framework plugins
authorMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Tue, 16 May 2023 11:14:01 +0000 (11:14 +0000)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Fri, 8 Sep 2023 09:47:28 +0000 (09:47 +0000)
commit938433b3e9fdfb513da73c1fc2e01b0901ac507d
tree9e694cf5821827697412e81dc534e5bb0374c38d
parentd0a3ae57c077ef136d5e422f6b18f57a2c40dfd8
Bug 33744: Fix cloning (sub)fields with framework plugins

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>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 2fa6105779d02e9b7fa81bc0ea47bff51e9f3170)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit e486548409e44becb9f3db660871345ddd134a6e)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/js/cataloging.js