From 93341087623e7d55759fbec103943b785be8b84a 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 --- 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.40.1