From f7ac061b8e18f4a06c28d444d369fa07c23991d2 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 9 Oct 2014 09:40:26 -0400 Subject: [PATCH] [PASSED QA] 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. --- 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 4128061..596341a 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 ) %] -- 1.9.1