From e5b9e1fbe5a2db1932b02d1b55897d94c6b75e75 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 --- 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.20.1 (Apple Git-117)