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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt (-8 / +10 lines)
Lines 1051-1064 Link Here
1051
                });
1051
                });
1052
            }
1052
            }
1053
1053
1054
            [% IF !( CircAutoPrintQuickSlip == 'clear' ) %]
1054
            // listen submit to trigger qslip on empty checkout
1055
                // listen submit to trigger qslip on empty checkout
1055
            $('#mainform').bind('submit',function() {
1056
                $('#mainform').bind('submit',function() {
1056
                if ($('#barcode').val() == '') {
1057
                    if ($('#barcode').val() == '') {
1057
                    [% IF ( CircAutoPrintQuickSlip == 'clear' ) %]
1058
                        window.location='/cgi-bin/koha/circ/circulation.pl';
1059
                        return false;
1060
                    [% ELSE %]
1058
                        return printx_window( '[% CircAutoPrintQuickSlip | html %]' );
1061
                        return printx_window( '[% CircAutoPrintQuickSlip | html %]' );
1059
                    }
1062
                    [% END %]
1060
                });
1063
                }
1061
            [% END %]
1064
            });
1062
            toggle_onsite_checkout();
1065
            toggle_onsite_checkout();
1063
            $("#onsite_checkout").click(function(){
1066
            $("#onsite_checkout").click(function(){
1064
                toggle_onsite_checkout();
1067
                toggle_onsite_checkout();
1065
- 

Return to bug 29026