From 107d96233a18efc77331a7a9e505e644fb36e5cd Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 22 Jan 2015 14:25:29 -0500 Subject: [PATCH] Bug 13339 - Cart button doesn't open the cart Content-Type: text/plain; charset="utf-8" The link to open the cart no longer triggers the cart popup. Instead, in order to make it more usable with mobile devices, it triggers a menu which displays the count of items in the cart -- something which previously was done with a hover action (something touch-screen devices don't have). Clicking/tapping this menu item is what opens the cart window. Since the cart link is really now a menu trigger rather than just a link, it seems logical to add the small arrow which the lists link has indicating that the link triggers a menu. To test, apply the patch and view any page in a Cart-enabled OPAC. Confirm that the "caret" icon displays correctly when the cart is both empty and when it has contents. --- .../opac-tmpl/bootstrap/en/includes/masthead.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc index 94dec72..904c232 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc @@ -20,7 +20,7 @@ [% IF ( Koha.Preference( 'opacbookbag' ) == 1 ) %]