[Koha-bugs] [Bug 13003] New: Prevent accidental form submission when scanning barcodes, in addbiblio.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Sep 29 11:35:33 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13003

            Bug ID: 13003
           Summary: Prevent accidental form submission when scanning
                    barcodes, in addbiblio.pl
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Cataloging
          Assignee: gmcharlt at gmail.com
          Reporter: mtj at kohaaloha.com
        QA Contact: testopia at bugs.koha-community.org
                CC: m.de.rooy at rijksmuseum.nl

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

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list