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