From 1d2539b803b2ea13a9548bca3c7140a5a3907aed Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Tue, 24 Jan 2023 11:03:40 +0000 Subject: [PATCH] Bug 30979: Redirect to checkout summary This is a temporary solution whilst we wait for the biblio api endpoints so we may include more biblio details in the checkout modal itself. Signed-off-by: Silvia Meakins Signed-off-by: Kyle M Hall Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/opac-tmpl/bootstrap/js/modals/checkout.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/koha-tmpl/opac-tmpl/bootstrap/js/modals/checkout.js b/koha-tmpl/opac-tmpl/bootstrap/js/modals/checkout.js index 6261803076..f846a1bf57 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/js/modals/checkout.js +++ b/koha-tmpl/opac-tmpl/bootstrap/js/modals/checkout.js @@ -268,6 +268,8 @@ $(document).ready(function() { let pageName = $(location).attr("pathname"); if ( pageName == '/cgi-bin/koha/opac-user.pl' ) { location.reload(); + } else { + location.href = "/cgi-bin/koha/opac-user.pl"; } }) }); -- 2.39.5