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> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> (cherry picked from commitf99bcfb652) Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> (cherry picked from commit41557555a9) Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
b8fb6aab76
commit
e2cb9da41c
|
|
@ -1062,10 +1062,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 %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue