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 commit f99bcfb652)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
d8567143ee
commit
41557555a9
|
|
@ -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 %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue