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)
committerJoy Nelson <joy@bywatersolutions.com>
Fri, 20 Dec 2019 16:38:51 +0000 (16:38 +0000)
commitc383cf2fa5bece671d3654ed5b16eae7b354187f
treee17741cb25ce72fb2479a96545f620de31d03bb3
parent7e86f5ef5df3ccda95df36d1e746469a06cd87e9
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>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/intranet-bottom.inc