From 8a5e776fc83001f4546b586adedfb336c7969563 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 --- 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 2f8e9af..4bd6661 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 414425a..8207456 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 ) %]