From bad30be2330b8fc2df4f0757237d2cd12b4a149e Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Mon, 24 Apr 2023 10:51:15 +0000 Subject: [PATCH] Bug 33597: (follow-up) Two other occurrences for holdfor Content-Type: text/plain; charset=utf-8 Signed-off-by: Marcel de Rooy --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt index 4e22f8a3f1..60fc0015f2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -1072,10 +1072,10 @@ [% IF borrowernumber and patron %] if( Cookies.get("holdfor") != [% patron.borrowernumber | html %]){ - Cookies.remove("holdfor", { path: '/' }); + Cookies.remove("holdfor", { path: '/', SameSite: 'Lax' }); } [% ELSE %] - Cookies.remove("holdfor", { path: '/' }); + Cookies.remove("holdfor", { path: '/', SameSite: 'Lax' }); [% END %] [% UNLESS ( patron.borrowernumber ) %]window.onload=function(){ $('#findborrower').focus(); };[% END %] -- 2.30.2