Bug 13003 - Prevent accidental form submission when scanning barcodes, in addbiblio.pl
Summary: Prevent accidental form submission when scanning barcodes, in addbiblio.pl
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: Main
Hardware: All All
: P5 - low minor (vote)
Assignee: Galen Charlton
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-29 09:35 UTC by Mason James
Modified: 2020-11-30 21:44 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mason James 2014-09-29 09:35:33 UTC
Currently in addbiblio.pl, scanning a barcode into any field will accidentally save the record (if the scanner is programmed to add a 'CR' character to the string)

the easiest solution seems to be to remove the focus from the page's submit button - perhaps using the blur() JS method?

 http://www.w3schools.com/jsref/met_submit_blur.asp
Comment 1 Owen Leonard 2019-11-21 18:38:47 UTC
This bug doesn't appear to be valid anymore.