]> git.koha-community.org Git - koha.git/commit
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)
committerLucas Gass <lucas@bywatersolutions.com>
Mon, 6 Jan 2020 22:32:56 +0000 (22:32 +0000)
commit689e0d0d62dee580df2b73bc58b3ed84b10e0a95
treeaf19b4e7cd2cd16ecd529de8498bd56be4dae512
parentd1c059f18cf54a3d8306c43f5a40014f05dbac10
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>
koha-tmpl/intranet-tmpl/prog/en/includes/intranet-bottom.inc