View | Details | Raw Unified | Return to bug 23623
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt (-2 / +1 lines)
Lines 1053-1059 Link Here
1053
                    $('#update_privacy_guarantor_checkouts').click( function() {
1053
                    $('#update_privacy_guarantor_checkouts').click( function() {
1054
                        var can_see_checkouts = $('#privacy_guarantor_checkouts').val() == 1;
1054
                        var can_see_checkouts = $('#privacy_guarantor_checkouts').val() == 1;
1055
                        $.ajax({
1055
                        $.ajax({
1056
                            url: "/api/v1/public/patrons/[% logged_in_user.borrowernumber %]/guarantors/can_see_checkouts"
1056
                            url: "/api/v1/public/patrons/[% logged_in_user.borrowernumber %]/guarantors/can_see_checkouts",
1057
                            type: "PUT",
1057
                            type: "PUT",
1058
                            data: JSON.stringify({ allowed: can_see_checkouts }),
1058
                            data: JSON.stringify({ allowed: can_see_checkouts }),
1059
                            contentType: "application/json",
1059
                            contentType: "application/json",
1060
- 

Return to bug 23623