From d3c285d361d208b6870d76cbede9fd162f42a7f1 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 10 Aug 2018 14:33:21 +0000 Subject: [PATCH] Bug 21174: (alternate) Sysprefs to enable the opening of OPAC cart in one click This is an alternate patch which would replace the proposed changes to masthead.inc, opac-bottom.inc, opac-basket.tt, and basket.js. This patch slightly changes the markup in masthead.inc so that the Cart link doesn't try to interpret it as a dropdown trigger, and switches out the ID attribute so that it triggers the right action from basket.js. Signed-off-by: Alex Buckley --- .../opac-tmpl/bootstrap/en/includes/masthead.inc | 28 ++++++++++++++-------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc index 9d543b8..b65af43 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc @@ -21,16 +21,24 @@ [% END %]