From c86f60d996437bd771fab4cf3593225e06b35aba 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 --- 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.11.0