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

(-)a/koha-tmpl/intranet-tmpl/prog/js/modal_printer.js (-2 / +6 lines)
Lines 41-48 $(document).ready(function() { Link Here
41
        `)
41
        `)
42
        win.document.write( title );
42
        win.document.write( title );
43
        win.document.write( contents );
43
        win.document.write( contents );
44
        win.document.close();
45
        win.focus();
44
        win.print();
46
        win.print();
45
        win.close();
47
        win.onafterprint = function () {
48
            win.close();
49
        }
50
        setTimeout('window.close()', 1000); //Hack from Chrome < 63
46
    }
51
    }
47
52
48
    // Set focused on printable modals on open and autoprint if required
53
    // Set focused on printable modals on open and autoprint if required
49
- 

Return to bug 38072