From c383cf2fa5bece671d3654ed5b16eae7b354187f Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Fri, 13 Dec 2019 07:01:23 +0100 Subject: [PATCH] Bug 24230: fix intranet_js plugin hook before body end tag The plugin hook intranet_js is after body tag in intranet-bottom.inc : [% KohaPlugins.get_plugins_intranet_js | $raw %] It must be before like in opac-bottom.inc Test plan : 1) Install a Koha plugin with intranet_js hook, like KitechenSink 2) Go to an intranet page 3) Look at source of the page to see plugin code is before body end tag Signed-off-by: Nicolas Legrand Signed-off-by: Marcel de Rooy Signed-off-by: Martin Renvoize Signed-off-by: Joy Nelson --- koha-tmpl/intranet-tmpl/prog/en/includes/intranet-bottom.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/intranet-bottom.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/intranet-bottom.inc index 89a487086a..e0bce02522 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/intranet-bottom.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/intranet-bottom.inc @@ -72,6 +72,6 @@ [% INCLUDE js_includes.inc %] [% jsinclude | $raw # Parse the page template's JavaScript block if necessary %] [% END %] - [% KohaPlugins.get_plugins_intranet_js | $raw %] + -- 2.39.5