From fea0f33a324887e1d2d33ed46cb323cdb60df213 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 --- 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.11.0