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