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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt (-4 / +1 lines)
Lines 634-640 Link Here
634
                            [% END #/IF reserved %]
634
                            [% END #/IF reserved %]
635
                        [% END # /IF found %]
635
                        [% END # /IF found %]
636
636
637
                        <div class="static_checkin_messages" style="display:none">
637
                        <div class="static_checkin_messages">
638
                            [% INCLUDE all_checkin_messages %]
638
                            [% INCLUDE all_checkin_messages %]
639
                        </div>
639
                        </div>
640
640
Lines 882-891 Link Here
882
            $("#barcode").focus();
882
            $("#barcode").focus();
883
        }
883
        }
884
        $(document).ready(function () {
884
        $(document).ready(function () {
885
            $(".static_checkin_messages").show();
886
            $(".modal").modal({ backdrop: 'static' }).on('shown.bs.modal', function() {
885
            $(".modal").modal({ backdrop: 'static' }).on('shown.bs.modal', function() {
887
                $("#barcode").prop("disabled", true);
886
                $("#barcode").prop("disabled", true);
888
                $(".static_checkin_messages").hide();
889
                $(".show_checkin_dialog").show();
887
                $(".show_checkin_dialog").show();
890
            }).on('hidden.bs.modal', function() {
888
            }).on('hidden.bs.modal', function() {
891
                $("#barcode").prop("disabled", false).focus();
889
                $("#barcode").prop("disabled", false).focus();
892
- 

Return to bug 23039