From d6065165c50b5caa9e43c4c09baef0519abc81a5 Mon Sep 17 00:00:00 2001 From: Liz Rea Date: Wed, 12 Dec 2012 15:09:27 +1300 Subject: [PATCH] Bug 8557 - Unexpected behavior with scanners Content-Type: text/plain; charset="utf-8" This is an alternative to the original implementation - this one works in chrome as well as firefox. To test: 1) Set syspref 'AcqCreateItem' to 'Create Item when receiving an order.' 2) Create a basket for a vendor, add an order line. 3) Search for this vendor using Vendor search 4) Receive Shipment for this vendor and choose the title you ordered in 2) 5) You will get the dialog to create related item(s) 6) Fill in Item 0 through o (see screenshot) 7) Scan Barcode for field p - Barcode 7) Result: Scanner sends a [return], form closes and you had no chance to fill in fields t - z Signed-off-by: Marc Veron Testted with Chrome Version 23.0.1271.97 m and Firefox 17.0.1, both behave as expected. --- .../prog/en/modules/acqui/orderreceive.tt | 20 +++++++++++++++++++- .../prog/en/modules/serials/serials-edit.tt | 19 ++++++++++++++++++- 2 files changed, 37 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt index da9aefe..a2b29f0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt @@ -4,6 +4,25 @@ [% INCLUDE 'additem.js.inc' %]