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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/slip-print.inc (-1 / +1 lines)
Lines 1-6 Link Here
1
<script type="text/javascript">
1
<script type="text/javascript">
2
[% IF ( Koha.Preference('IntranetSlipPrinterJS') ) %]
2
[% IF ( Koha.Preference('IntranetSlipPrinterJS') ) %]
3
    [% Koha.Preference('IntranetSlipPrinterJS') %]
3
    [% Koha.Preference('IntranetSlipPrinterJS') %]
4
    $( window ).load( printThenClose() );
4
[% ELSE %]
5
[% ELSE %]
5
    $( window ).load(function() {
6
    $( window ).load(function() {
6
        window.print();
7
        window.print();
7
- 

Return to bug 19329