@@ -, +, @@ well --- koha-tmpl/intranet-tmpl/prog/en/js/additem.js | 4 +++- .../prog/en/modules/acqui/neworderempty.tt | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/js/additem.js +++ a/koha-tmpl/intranet-tmpl/prog/en/js/additem.js @@ -242,4 +242,6 @@ function check_additem(unique_item_fields) { } return success; } - +// Do not submit form in chrome if barcode is scanned - requires Add the following attribute into each input type="text" tag(s) on add item pages : onkeypress="return noenter()" +function noenter() { + return !(window.event && window.event.keyCode == 13); } --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt @@ -281,10 +281,10 @@ $(document).ready(function()
  • [% IF ( biblionumber ) %] ISBN: - [% isbn %] + [% isbn %] [% ELSE %] - + [% END %]
  • [% IF (UNIMARC) %] --