From 1e66ba049d7b524a45ddc2f4d5b1be537621aaef Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Fri, 13 Jun 2014 10:48:29 -0400 Subject: [PATCH] Bug 12422 - Javascript error triggered by opacbookbag being disabled while virtualshelves are enabled when using Bootstrap Having the system preference opacbookbag disabled while having virtualshelves enabled will give the following javascript error: Uncaught ReferenceError: MSG_IN_YOUR_CART is not defined basket.js:414 Test plan: 1) Set opactheme to bootstrap 2) Disable opacbookbag, enable virtualshelves 3) Open an OPAC page, view the error console 4) Note the javascript error 5) Apply this patch 6) Reload the page, not the error is gone --- .../bootstrap/en/includes/opac-bottom.inc | 2 +- 1 files changed, 1 insertions(+), 1 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 c3ce588..03b9d20 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc @@ -108,7 +108,7 @@ //