Bug 24230: fix intranet_js plugin hook before body end tag
authorFridolin Somers <fridolin.somers@biblibre.com>
Fri, 13 Dec 2019 06:01:23 +0000 (07:01 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 13 Dec 2019 15:28:33 +0000 (15:28 +0000)
commite25944a8b195d2cde6c979adadfc03f4b7314ddc
tree94885f59d2318a10db7e6ced65998f93ca0cb20f
parentf8030195f7a93190f25319dc0f1491cc88a25316
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

Signed-off-by: Nicolas Legrand <nicolas.legrand@bulac.fr>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/includes/intranet-bottom.inc