Bug 11292 - barcode scanner clicking 'save'
authorKyle M Hall <kyle@bywatersolutions.com>
Thu, 22 May 2014 12:35:16 +0000 (08:35 -0400)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 24 Jun 2014 12:39:44 +0000 (09:39 -0300)
commita52a0a8811f6ad03c422c62280bc184a9e16996d
tree3c799d4cf574a0256699884268c828442714d671
parente497b131943b375723bffebe89a0ce8a8600f112
Bug 11292 - barcode scanner clicking 'save'

When cataloging a bib record if you scan an ISBN barcode in the barcode
scanner clicks the 'save' button before the cataloging is done. This did
not happen in 3.10, but is happening again in 3.12.

Test Plan:
1) Open the marc editor
2) Focus on a field, hit the enter key
3) Note the record tries to save
4) Focus on an indicator, hit the enter key
5) Note the record tries to save
6) Apply this patch
7) Repeat steps 2 and 4, note the record no longer
   tries to save upon carriage return

Signed-off-by: Christopher Brannon <cbrannon@cdalibrary.org>
Patch tested with a sandbox.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/js/cataloging.js