From 68c522783c7f52276bccd3d8c4acc3b356f02b9a Mon Sep 17 00:00:00 2001 From: Allen Reinmeyer Date: Thu, 6 Nov 2008 14:43:26 -0600 Subject: [PATCH] UPDATE:Bug #2756 opacbookbag preference turns off add items to list There was a bug in the javascript that prevented the 'select all','clear all' and the 'add-to' list. Javascript wasn't including basket.js on virtualshelves option. Also, 'Save to Lists' was calling addtoshelf instead of addtolist. Functionality is now the same for virtualshelves regardless of opacbookbag status. UPDATED: Removed EXPR in TMPL_IF conditions Signed-off-by: Galen Charlton --- .../prog/en/includes/doc-head-close.inc | 2 +- .../opac-tmpl/prog/en/modules/opac-results.tmpl | 17 +++++++++++------ 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/doc-head-close.inc b/koha-tmpl/opac-tmpl/prog/en/includes/doc-head-close.inc index 3d9f7046e0..16f611e37e 100644 --- a/koha-tmpl/opac-tmpl/prog/en/includes/doc-head-close.inc +++ b/koha-tmpl/opac-tmpl/prog/en/includes/doc-head-close.inc @@ -25,7 +25,7 @@ +src="/js/basket.js">src="/js/basket.js">>var readCookie;