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 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 %]
(-)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