[Koha-patches] [PATCH] Bug-3719 updated (one more file modified)

Jane Wagner jwagner at ptfs.com
Thu Oct 22 18:10:52 CEST 2009


Added change from hardcoded Cart to syspref for opacbookbagName
to one more file
---
 koha-tmpl/opac-tmpl/prog/en/js/basket.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/koha-tmpl/opac-tmpl/prog/en/js/basket.js b/koha-tmpl/opac-tmpl/prog/en/js/basket.js
index 70da7df..7bb39bf 100644
--- a/koha-tmpl/opac-tmpl/prog/en/js/basket.js
+++ b/koha-tmpl/opac-tmpl/prog/en/js/basket.js
@@ -374,10 +374,10 @@ function showLess() {
 function updateBasket(updated_value,target) {
 	if(target){
 	target.$('#basketcount').html("<span>"+updated_value+"</span>");
-	target.$('#cartDetails').html(_("Your cart contains ")+updated_value+_(" items"));
+	target.$('#cartDetails').html(_("Your <TMPL_VAR NAME="opacbookbagName"> contains ")+updated_value+_(" items"));
 	} else {
 	$('#basketcount').html("<span>"+updated_value+"</span>");
-	$('#cartDetails').html(_("Your cart contains ")+updated_value+_(" items"));
+	$('#cartDetails').html(_("Your <TMPL_VAR NAME="opacbookbagName"> contains ")+updated_value+_(" items"));
 	}
 	var basketcount = updated_value;
 }
-- 
1.5.6.5




More information about the Koha-patches mailing list