@@ -, +, @@ hold is found --- .../intranet-tmpl/prog/en/modules/circ/returns.tt | 280 +++++++++++++------- 1 file changed, 185 insertions(+), 95 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -19,6 +19,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 %]'); @@ -195,55 +200,90 @@ $(document).ready(function () { [% END %] [% IF ( found ) %] - - [% IF ( waiting ) %] - - -
[% END %] [% IF ( diffbranch ) %] @@ -352,55 +392,105 @@ $(document).ready(function () { [% IF ( reserved ) %] - - - +