@@ -, +, @@ hold is found --- .../intranet-tmpl/prog/en/modules/circ/returns.tt | 290 ++++++++++++++------- 1 file changed, 192 insertions(+), 98 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -38,6 +38,11 @@ function Dopop(link) { $("#barcode").focus(); } $(document).ready(function () { + $(".modal").modal({ backdrop: 'static' }).on('shown', function() { + $("#barcode").prop("disabled", true); + }).on('hidden', function() { + $("#barcode").prop("disabled", false).focus(); + }); [% IF print_slip %] Dopop('hold-transfer-slip.pl?borrowernumber=[% borrowernumber %]&biblionumber=[% biblionumber %]'); @@ -241,57 +246,95 @@ $(document).ready(function () { [% END %] [% IF ( found ) %] - - [% IF ( waiting ) %] - + [% END %] [% IF ( diffbranch ) %] @@ -404,58 +447,109 @@ $(document).ready(function () { [% IF ( reserved ) %] + [% END %] [% END %] --