View | Details | Raw Unified | Return to bug 33597
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt (-3 / +2 lines)
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
- 

Return to bug 33597