|
Lines 1072-1081
Link Here
|
| 1072 |
|
1072 |
|
| 1073 |
[% IF borrowernumber and patron %] |
1073 |
[% IF borrowernumber and patron %] |
| 1074 |
if( Cookies.get("holdfor") != [% patron.borrowernumber | html %]){ |
1074 |
if( Cookies.get("holdfor") != [% patron.borrowernumber | html %]){ |
| 1075 |
Cookies.remove("holdfor", { path: '/' }); |
1075 |
Cookies.remove("holdfor", { path: '/', SameSite: 'Lax' }); |
| 1076 |
} |
1076 |
} |
| 1077 |
[% ELSE %] |
1077 |
[% ELSE %] |
| 1078 |
Cookies.remove("holdfor", { path: '/' }); |
1078 |
Cookies.remove("holdfor", { path: '/', SameSite: 'Lax' }); |
| 1079 |
[% END %] |
1079 |
[% END %] |
| 1080 |
|
1080 |
|
| 1081 |
[% UNLESS ( patron.borrowernumber ) %]window.onload=function(){ $('#findborrower').focus(); };[% END %] |
1081 |
[% UNLESS ( patron.borrowernumber ) %]window.onload=function(){ $('#findborrower').focus(); };[% END %] |
| 1082 |
- |
|
|