Bug 17870 - Call to include file incorrectly moved into the footer
authorOwen Leonard <oleonard@myacpl.org>
Mon, 9 Jan 2017 17:39:01 +0000 (17:39 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 13 Jan 2017 11:27:39 +0000 (11:27 +0000)
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 <claire_gravely@hotmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc
koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc

index 2f8e9af..4bd6661 100644 (file)
@@ -1,5 +1,6 @@
 [% USE Koha %]
 [% USE String %]
+[% PROCESS 'html_helpers.inc' %]
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 
 [%# Prevent XFS attacks -%]
index 414425a..8207456 100644 (file)
@@ -23,7 +23,6 @@
 <script type="text/javascript" src="[% interface %]/[% theme %]/js/staff-global.js"></script>
 
 [% INCLUDE 'validator-strings.inc' %]
-[% PROCESS 'html_helpers.inc' %]
 [% IF ( IntranetUserJS ) %]
     <script type="text/javascript">
     //<![CDATA[