From 92af7a31a350d4a4e2f9537f326b5a3e1e09b7b7 Mon Sep 17 00:00:00 2001 From: Josef Moravec Date: Tue, 17 Sep 2019 18:59:26 +0000 Subject: [PATCH] Bug 23623: (follow-up) Add missing comma in ajax call definition Signed-off-by: Josef Moravec Signed-off-by: Kyle M Hall Signed-off-by: Martin Renvoize --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt index 19f74a8bbe..d49baed32c 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt @@ -1053,7 +1053,7 @@ $('#update_privacy_guarantor_checkouts').click( function() { var can_see_checkouts = $('#privacy_guarantor_checkouts').val() == 1; $.ajax({ - url: "/api/v1/public/patrons/[% logged_in_user.borrowernumber %]/guarantors/can_see_checkouts" + url: "/api/v1/public/patrons/[% logged_in_user.borrowernumber %]/guarantors/can_see_checkouts", type: "PUT", data: JSON.stringify({ allowed: can_see_checkouts }), contentType: "application/json", -- 2.39.5