Bugzilla – Attachment 150415 Details for
Bug 33597
Get rid of few SameSite warnings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33597: (follow-up) Two other occurrences for holdfor
Bug-33597-follow-up-Two-other-occurrences-for-hold.patch (text/plain), 1.33 KB, created by
Nick Clemens (kidclamp)
on 2023-04-28 18:43:15 UTC
(
hide
)
Description:
Bug 33597: (follow-up) Two other occurrences for holdfor
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2023-04-28 18:43:15 UTC
Size:
1.33 KB
patch
obsolete
>From ba853d28b55ebc893fbd464010d87b467aa23fd0 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Mon, 24 Apr 2023 10:51:15 +0000 >Subject: [PATCH] Bug 33597: (follow-up) Two other occurrences for holdfor > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 33597
:
150148
|
150149
|
150150
|
150151
|
150413
|
150414
| 150415