Koha/koha-tmpl/opac-tmpl
Frédéric Demians e3c203aebb Bug 11663: fix display of holding tab in Bootstap OPAC when opacbookbag syspref is disabled
Bootstap theme opac holding tab is improperly displayed when opacbookbag
syspref is disabled, and virtualshelf is enabled. This is due to the
fact that in this situation basket.js is loaded (for virtual shelves),
but some JS variables are not defined in template since opacbookbag is
disabled.

To reproduce this bug:

- Choose bootstrap OPAC theme
- Enable virtualsheves syspref
- Disable opacbookbag syspref
- Open a biblio record in OPAC detail page
- You will observe that items holding tabs are not displayed as tabs but
  as a bulleted list

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes QA script and all tests.
Confirmed display problem exists without the patch and is solved by it.
Ideally we would avoid having the cart messages in the template when
the feature is deactivated, but this is ok for now.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2014-02-04 18:02:25 +00:00
..
bootstrap Bug 11663: fix display of holding tab in Bootstap OPAC when opacbookbag syspref is disabled 2014-02-04 18:02:25 +00:00
ccsr Bug 11616: (follow-up) remove tablesorter CSS 2014-01-31 15:36:47 +00:00
lib Bug 9916 - Use DataTables in the OPAC 2013-08-19 14:19:02 +00:00
prog Bug 10851: add additional "missing" statuses for serials issues 2014-02-04 17:43:49 +00:00