Bug 23623: (follow-up) Add missing comma in ajax call definition

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Josef Moravec 2019-09-17 18:59:26 +00:00 committed by Martin Renvoize
parent ab4fa77eb0
commit 92af7a31a3
Signed by: martin.renvoize
GPG key ID: 422B469130441A0F

View file

@ -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",