From 14c34c0c687ddece0708baf3dfc0cc43f1c5b8be Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 9 Jan 2017 17:39:01 +0000 Subject: [PATCH] Bug 17870 - Call to include file incorrectly moved into the footer This patch moves a line of template code from js_includes.inc back into doc-head-close.inc where it belongs. To test, apply the patch and view a page which uses a template that depends on html_helpers.inc being processed. For example: - The set library page - The holds queue report - The new patron form The pages should work correctly. Signed-off-by: Claire Gravely Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall --- koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc | 1 + koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc index 2f8e9af267..4bd6661240 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc @@ -1,5 +1,6 @@ [% USE Koha %] [% USE String %] +[% PROCESS 'html_helpers.inc' %] [%# Prevent XFS attacks -%] diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc index 414425a830..8207456f9f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc @@ -23,7 +23,6 @@ [% INCLUDE 'validator-strings.inc' %] -[% PROCESS 'html_helpers.inc' %] [% IF ( IntranetUserJS ) %]