From b29e38a31b309edeedb8f467e2b6bb8363852230 Mon Sep 17 00:00:00 2001 From: doxulting Date: Fri, 9 Jul 2004 17:54:58 +0000 Subject: [PATCH] Basket sending added --- koha-tmpl/js/basket.js | 10 +++++-- .../css/en/includes/opac-basket-menu.inc | 26 +++++++++---------- .../css/fr/includes/opac-basket-menu.inc | 26 +++++++++---------- 3 files changed, 34 insertions(+), 28 deletions(-) diff --git a/koha-tmpl/js/basket.js b/koha-tmpl/js/basket.js index 8a9f6c822f..949860d1d8 100644 --- a/koha-tmpl/js/basket.js +++ b/koha-tmpl/js/basket.js @@ -280,9 +280,15 @@ function quit() { } -function formAddress() { +function sendBasket() { + var nameCookie = "bib_list"; + var valCookie = readCookie(nameCookie); + var strCookie = nameCookie + "=" + valCookie; + + var loc = CGIBIN + "opac-sendbasket.pl?" + strCookie; + var optWin="dependant=yes,scrollbars=no,resizable=no,height=300,width=400,top=50,left=100"; - var win_form = open(BIB + "formAddress.html","win_form",optWin); + var win_form = open(loc,"win_form",optWin); } diff --git a/koha-tmpl/opac-tmpl/css/en/includes/opac-basket-menu.inc b/koha-tmpl/opac-tmpl/css/en/includes/opac-basket-menu.inc index 0bf4147720..cfd043a5d1 100644 --- a/koha-tmpl/opac-tmpl/css/en/includes/opac-basket-menu.inc +++ b/koha-tmpl/opac-tmpl/css/en/includes/opac-basket-menu.inc @@ -1,13 +1,13 @@ - - + + diff --git a/koha-tmpl/opac-tmpl/css/fr/includes/opac-basket-menu.inc b/koha-tmpl/opac-tmpl/css/fr/includes/opac-basket-menu.inc index 6cb693400f..7343995705 100644 --- a/koha-tmpl/opac-tmpl/css/fr/includes/opac-basket-menu.inc +++ b/koha-tmpl/opac-tmpl/css/fr/includes/opac-basket-menu.inc @@ -1,13 +1,13 @@ - - + + -- 2.39.5