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

(-)a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss (+6 lines)
Lines 254-259 body { Link Here
254
    line-height: 1.22;
254
    line-height: 1.22;
255
    padding: 0 0 4em;
255
    padding: 0 0 4em;
256
    text-align: left;
256
    text-align: left;
257
258
    &.nobackdrop {
259
        .modal-backdrop {
260
            opacity: 0;
261
        }
262
    }
257
}
263
}
258
264
259
br {
265
br {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt (-2 / +7 lines)
Lines 1007-1013 Link Here
1007
            }).on('hidden.bs.modal', function() {
1007
            }).on('hidden.bs.modal', function() {
1008
                $("#barcode").prop("disabled", false).focus();
1008
                $("#barcode").prop("disabled", false).focus();
1009
            });
1009
            });
1010
            $(".modal.noblock").modal({ backdrop: 'static'}).on('shown.bs.modal', function() {
1010
            $(".modal.noblock").on('show.bs.modal', function() {
1011
                /* If the modal doesn't block further action, the backdrop should be hidden.
1012
                   In order for this to happen smoothly we add a class to the body tag which
1013
                   targeted in the CSS */
1014
                $("body").addClass("nobackdrop");
1015
            }).modal()
1016
            .on('shown.bs.modal', function() {
1011
                $("#barcode").prop("disabled", false).focus();
1017
                $("#barcode").prop("disabled", false).focus();
1012
            }).on('hidden.bs.modal', function() {
1018
            }).on('hidden.bs.modal', function() {
1013
                $("#barcode").prop("disabled", false).focus();
1019
                $("#barcode").prop("disabled", false).focus();
1014
- 

Return to bug 27847