From 64394eaac69c8c8e2b81adf13b55772dcd7ab4b0 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 18 Jun 2020 11:31:40 +0000 Subject: [PATCH] Bug 25402: (QA follow-up) Remove unused downloadBasket function This patch removes the now-unused downloadBasket function from basket.js. The patch should have no effect on the functionality of the download process. Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart (cherry picked from commit 6d73c08e7351a772a388b1e1c6157b307fcbc1a8) Signed-off-by: Lucas Gass --- koha-tmpl/opac-tmpl/bootstrap/js/basket.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/js/basket.js b/koha-tmpl/opac-tmpl/bootstrap/js/basket.js index e5b3d3b4d0..c5d852598f 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/js/basket.js +++ b/koha-tmpl/opac-tmpl/bootstrap/js/basket.js @@ -358,16 +358,6 @@ function sendBasket() { var win_form = open(loc,"win_form",optWin); } -function downloadBasket() { - var nameCookie = "bib_list"; - var valCookie = readCookie(nameCookie); - var strCookie = nameCookie + "=" + valCookie; - - var loc = "/cgi-bin/koha/opac-downloadcart.pl?" + strCookie; - - open(loc,"win_form",'scrollbars=no,resizable=no,height=300,width=450,top=50,left=100'); -} - function showMore() { var strCookie = ""; -- 2.39.5