From 842913dfb82c95bfc0100e24ab177863cf959e15 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 9 Oct 2014 09:40:26 -0400 Subject: [PATCH] Bug 13052 - OPAC Cart JavaScript is included twice in the footer The external JavaScript file which powers the OPAC Cart should not be included twice. The correct instance is the one which comes after the definition of MSG strings. To test you must have the opacbookbag system preference turned on. In Bootstrap OPAC, test adding some items to the Cart and confirm that Cart operations work correctly. Signed-off-by: Chris Cormack Signed-off-by: Katrin Fischer Cart is still working as expected, passes tests and QA script. Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc index 4128061d6e..596341acb8 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc @@ -103,11 +103,6 @@ $.widget.bridge('uitooltip', $.ui.tooltip); [% END %] -[% IF Koha.Preference( 'opacbookbag' ) == 1 %] - + [% IF Koha.Preference( 'opacbookbag' ) == 1 %] [% ELSIF ( Koha.Preference( 'virtualshelves' ) == 1 ) %] @@ -160,6 +156,7 @@ $.widget.bridge('uitooltip', $.ui.tooltip); [% ELSE %] [% END %] + [% IF Koha.Preference( 'opacuserlogin' ) == 1 %][% IF Koha.Preference( 'TagsEnabled' ) == 1 %][% END %][% ELSE %][% END %] [% IF ( GoogleJackets ) %] -- 2.39.5