From af0ec1e715a31fa16df0cb13e38de1cbdb03a1c1 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 24 Nov 2021 11:56:52 +0100 Subject: [PATCH] Bug 29567: (bug 28445 follow-up) Restore cataloguing plugins Broken by bug 28445. See also the FIXME from commit 86156da415141e32e16f2090477be32bda241afb Bug 28445: Adjust code to handle regexs The problem is that the cataloguing plugins inject JS code in the DOM BEFORE the footer in somes page we have all the JS loaded at the end of the DOM and so $ (jQuery) is not defined It's working on additem as we don't have the JS in the footer, but the batch item mod tool has it there. Test plan: Batch edit items and confirm that cataloguing are working correctly with this patch applied. Signed-off-by: Andrew Nugged Signed-off-by: Jonathan Druart --- koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt index 75402985f0..a7207e4b0b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt @@ -225,6 +225,7 @@ [% INCLUDE 'datatables.inc' %] [% Asset.js("js/pages/batchMod.js") | $raw %] [% INCLUDE 'select2.inc' %] + [% INCLUDE 'calendar.inc' %]