Lines 1053-1063
Link Here
|
1053 |
columns_settings_borrowers_table = [% ColumnsSettings.GetColumns( 'circ', 'circulation', 'table_borrowers', 'json' ) | $raw %] |
1053 |
columns_settings_borrowers_table = [% ColumnsSettings.GetColumns( 'circ', 'circulation', 'table_borrowers', 'json' ) | $raw %] |
1054 |
|
1054 |
|
1055 |
[% IF borrowernumber and patron %] |
1055 |
[% IF borrowernumber and patron %] |
1056 |
if($.cookie("holdfor") != [% patron.borrowernumber | html %]){ |
1056 |
if( Cookies.get("holdfor") != [% patron.borrowernumber | html %]){ |
1057 |
$.removeCookie("holdfor", { path: '/' }); |
1057 |
Cookies.remove("holdfor", { path: '/' }); |
1058 |
} |
1058 |
} |
1059 |
[% ELSE %] |
1059 |
[% ELSE %] |
1060 |
$.removeCookie("holdfor", { path: '/' }); |
1060 |
Cookies.remove("holdfor", { path: '/' }); |
1061 |
[% END %] |
1061 |
[% END %] |
1062 |
|
1062 |
|
1063 |
[% UNLESS ( patron.borrowernumber ) %][% UNLESS ( borrowers ) %]window.onload=function(){ $('#findborrower').focus(); };[% END %][% END %] |
1063 |
[% UNLESS ( patron.borrowernumber ) %][% UNLESS ( borrowers ) %]window.onload=function(){ $('#findborrower').focus(); };[% END %][% END %] |