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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt (-3 / +3 lines)
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 %]
(-)a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js (-3 / +2 lines)
Lines 220-231 $(document).ready(function() { Link Here
220
        return false;
220
        return false;
221
    });
221
    });
222
222
223
    if ( $.cookie("issues-table-load-immediately-" + script) == "true" ) {
223
    if ( Cookies.get("issues-table-load-immediately-" + script) == "true" ) {
224
        LoadIssuesTable();
224
        LoadIssuesTable();
225
        $('#issues-table-load-immediately').prop('checked', true);
225
        $('#issues-table-load-immediately').prop('checked', true);
226
    }
226
    }
227
    $('#issues-table-load-immediately').on( "change", function(){
227
    $('#issues-table-load-immediately').on( "change", function(){
228
        $.cookie("issues-table-load-immediately-" + script, $(this).is(':checked'), { expires: 365 });
228
        Cookies.set("issues-table-load-immediately-" + script, $(this).is(':checked'), { expires: 365 });
229
    });
229
    });
230
230
231
    function LoadIssuesTable() {
231
    function LoadIssuesTable() {
232
- 

Return to bug 23944