[Koha-patches] [PATCH] Adding javascript to prevent premature submission of forms when using a barcode scanner (or by hitting the enter key). Addresses Bug 2591

Jesse Weaver jesse.weaver at liblime.com
Mon Oct 6 16:24:45 CEST 2008


On Mon, Oct 6, 2008 at 7:01 AM, Owen Leonard <oleonard at myacpl.org> wrote:

> > Patch pushed, but with reservations: suppressing the enter key in all
> > fields in the patron and item forms may be casting the net too wide;
> > an operator who is used to hitting enter now has to reach for the
> > mouse.
>
> I'd welcome discussion on the question. It's just as easy to suppress
> the enter key from only specific inputs. By consensus or decree it can
> be so.
>
>  -- Owen
>
> --
> Web Developer
> Athens County Public Libraries
> http://www.myacpl.org
> _______________________________________________
> Koha-patches mailing list
> Koha-patches at lists.koha.org
> http://lists.koha.org/mailman/listinfo/koha-patches
>

My vote is for this patch to only affect fields that the scanner is likely
to be used for; barcode or cardnumber, maybe isbn. If it also needs to
affect additem, changes would have to happen to that script, but it would be
possible.

-- 
Jesse Weaver
Software Developer, LibLime
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/koha-patches/attachments/20081006/312e4ff1/attachment-0001.htm>


More information about the Koha-patches mailing list