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 885-894 Link Here
885
            $("#barcode").focus();
885
            $("#barcode").focus();
886
        }
886
        }
887
        $(document).ready(function () {
887
        $(document).ready(function () {
888
            $(".static_checkin_messages").show();
889
            $(".modal").modal({ backdrop: 'static' }).on('shown.bs.modal', function() {
888
            $(".modal").modal({ backdrop: 'static' }).on('shown.bs.modal', function() {
890
                $("#barcode").prop("disabled", true);
889
                $("#barcode").prop("disabled", true);
891
                $(".static_checkin_messages").hide();
892
                $(".show_checkin_dialog").show();
890
                $(".show_checkin_dialog").show();
893
            }).on('hidden.bs.modal', function() {
891
            }).on('hidden.bs.modal', function() {
894
                $("#barcode").prop("disabled", false).focus();
892
                $("#barcode").prop("disabled", false).focus();
895
- 

Return to bug 23039