Bug 13247 - Move opacuserjs at the end of opac-bottom.inc

This patch makes opacuserjs compatible with tracking tools like Piwik

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Small change to enable use of opacuserjs for statistical
tools like Piwik by moving it right above </body>.
Works as described.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
Stéphane Delaune 2014-11-14 08:48:54 +01:00 committed by Tomas Cohen Arazi
parent 21ad25c1aa
commit 45cfe50a17
1 changed files with 7 additions and 1 deletions

View File

@ -145,7 +145,6 @@ $.widget.bridge('uitooltip', $.ui.tooltip);
verify_images();
});
[% END %]
[% IF ( opacuserjs ) %][% opacuserjs %][% END %]
//]]>
</script>
@ -238,5 +237,12 @@ $.widget.bridge('uitooltip', $.ui.tooltip);
[% END # / IF persona %]
[% PROCESS jsinclude %]
[% IF ( opacuserjs ) %]
<script type="text/javascript">
//<![CDATA[
[% opacuserjs %]
//]]>
</script>
[% END %]
</body>
</html>