removing default templates
[koha-ffzg.git] / koha-tmpl / opac-tmpl / css / en / includes / basket.js
index d7b7a3c..5c8c159 100644 (file)
@@ -295,14 +295,6 @@ function delBasket() {
 
 
 function quit() {
-       if (document.myform.records.value) {
-               var rep = false;
-               rep = confirm(MSG_CONFIRM_DEL_RECORDS);
-               if (rep) {
-                       delSelRecords();
-               }
-       }
-       updateBasket(arrayRecords.length-1,top.opener.document);
        window.close();
 }
 
@@ -313,7 +305,7 @@ function sendBasket() {
 
        var loc = CGIBIN + "opac-sendbasket.pl?" + strCookie;
 
-       var optWin="dependant=yes,scrollbars=no,resizable=no,height=300,width=400,top=50,left=100";
+       var optWin="dependant=yes,scrollbars=no,resizable=no,height=300,width=600,top=50,left=100";
        var win_form = open(loc,"win_form",optWin);
 }
 
@@ -357,4 +349,9 @@ function updateBasket(updated_value,target) {
 document.getElementById == "undefined") {
         target.all['basket'].innerHTML = " ("+updated_value+")";
     }
+}
+
+function openBiblio(biblionumber) {
+       openerURL="opac-detail.pl?bib="+biblionumber;
+       opener.document.location = openerURL;
 }
\ No newline at end of file