From 7a6f57f0ee7e9563905e7e3d5cb3481db11863db Mon Sep 17 00:00:00 2001
From: Fridolin Somers <fridolin.somers@biblibre.com>
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 :
</body>
[% KohaPlugins.get_plugins_intranet_js | $raw %]
</html>
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
---
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 %]
- </body>
[% KohaPlugins.get_plugins_intranet_js | $raw %]
+</body>
</html>
--
2.24.0