From 6e7fd122147bafcd2b66c1ecfde2e9be1cdcccef Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 16 Jul 2018 11:21:48 -0300 Subject: [PATCH] Bug 21050: Fix datepickers on LabelItemSearch calendar.inc must be in the jsinclude block when jsfooter is set Test plan: - Open or create a label batch. - Click "Add items" to trigger the pop-up search window. - Date picker should work now Signed-off-by: Katrin Fischer Signed-off-by: Julian Maurice Signed-off-by: Nick Clemens --- koha-tmpl/intranet-tmpl/prog/en/modules/labels/search.tt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/search.tt index d67a67cab8..e982150976 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/search.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/search.tt @@ -1,7 +1,6 @@ [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %]Koha › Labels [% INCLUDE 'doc-head-close.inc' %] -[% INCLUDE 'calendar.inc' %] @@ -104,4 +103,7 @@ to add to Batch [% batch_id %] +[% MACRO jsinclude BLOCK %] + [% INCLUDE 'calendar.inc' %] +[% END %] [% INCLUDE 'intranet-bottom.inc' popup_window=1 %] -- 2.39.5