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)
committerHayley Mapley <hayleymapley@catalyst.net.nz>
Thu, 9 Jan 2020 22:00:55 +0000 (11:00 +1300)
commit6572937d0806ed48d9cb69223a8196de8099193e
tree84c95050e4a5ade913aaa771fba24965cbed73df
parentfa38b53c9aef7ce01b57094b516cc44dc9a3f4e4
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>
(cherry picked from commit c383cf2fa5bece671d3654ed5b16eae7b354187f)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 689e0d0d62dee580df2b73bc58b3ed84b10e0a95)
Signed-off-by: Hayley Mapley <hayleymapley@catalyst.net.nz>
koha-tmpl/intranet-tmpl/prog/en/includes/intranet-bottom.inc