@@ -, +, @@ that any warning messages hidden by a hold modal are displayed after it is dismissed --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -52,6 +52,8 @@ $(document).ready(function () { $("#barcode").prop("disabled", false).focus(); }); + $(".modal").on('hidden.bs.modal', function (e) { $("#barcode").focus(); }); + [% IF print_slip %] Dopop('hold-transfer-slip.pl?borrowernumber=[% borrowernumber %]&biblionumber=[% biblionumber %]'); [% END %] @@ -340,7 +342,7 @@ $(document).ready(function () {