X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=koha-tmpl%2Fintranet-tmpl%2Fprog%2Fen%2Fjs%2Fbasket.js;h=cddddf7fbd8ebab554fc4284a63ef37b4331a17b;hb=9b8a5274732edd0bbcf3dd80b82c00b182a292da;hp=5b96c1284f6bc32e620f739eaa8f692f81dbd6be;hpb=324615e396be7fadc8ba3cfa1a9f6025e900df3a;p=koha.git
diff --git a/koha-tmpl/intranet-tmpl/prog/en/js/basket.js b/koha-tmpl/intranet-tmpl/prog/en/js/basket.js
index 5b96c1284f..cddddf7fbd 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/js/basket.js
+++ b/koha-tmpl/intranet-tmpl/prog/en/js/basket.js
@@ -79,7 +79,7 @@ function openBasket() {
if ( strCookie ) {
var iW = 820;
var iH = 450;
- var optWin = "dependant=yes,status=yes,scrollbars=yes,resizable=yes,toolbar=no,location=yes,height="+iH+",width="+iW;
+ var optWin = "status=yes,scrollbars=yes,resizable=yes,toolbar=no,location=yes,height="+iH+",width="+iW;
var loc = CGIBIN + "basket/basket.pl?" + strCookie;
var basket = open(loc, "basket", optWin);
if (window.focus) {basket.focus()}
@@ -335,7 +335,7 @@ function sendBasket() {
var loc = CGIBIN + "basket/sendbasket.pl?" + strCookie;
- var optWin="dependant=yes,scrollbars=no,resizable=no,height=300,width=450,top=50,left=100";
+ var optWin="scrollbars=no,resizable=no,height=300,width=450,top=50,left=100";
var win_form = open(loc,"win_form",optWin);
}
@@ -345,7 +345,7 @@ function downloadBasket() {
var loc = CGIBIN + "basket/downloadcart.pl?" + strCookie;
- open(loc,"win_form",'dependant=yes,scrollbars=no,resizable=no,height=300,width=450,top=50,left=100');
+ open(loc,"win_form",'scrollbars=no,resizable=no,height=300,width=450,top=50,left=100');
}
function printBasket() {
@@ -378,10 +378,10 @@ function showLess() {
function updateBasket(updated_value,target) {
if(target){
target.$('#basketcount').html(" ("+updated_value+")");
- target.$('#cartDetails').html(_("Your cart contains ")+updated_value+_(" items"));
+ target.$('#cartDetails').html(MSG_IN_YOUR_CART+updated_value);
} else {
$('#basketcount').html(" ("+updated_value+")");
- $('#cartDetails').html(_("Your cart contains ")+updated_value+_(" items"));
+ $('#cartDetails').html(MSG_IN_YOUR_CART+updated_value);
}
var basketcount = updated_value;
}