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 40-47 $(document).ready(function () { Link Here
40
        `);
40
        `);
41
        win.document.write(title);
41
        win.document.write(title);
42
        win.document.write(contents);
42
        win.document.write(contents);
43
        win.document.close();
44
        win.focus();
43
        win.print();
45
        win.print();
44
        win.close();
46
        win.onafterprint = function () {
47
            win.close();
48
        }
49
        setTimeout('window.close()', 1000); //Hack from Chrome < 63
45
    }
50
    }
46
51
47
    // Set focused on printable modals on open and autoprint if required
52
    // Set focused on printable modals on open and autoprint if required
48
- 

Return to bug 38072