Bug 8557: Prevents form validation by pressing "Enter"
authorChristophe Croullebois <christophe.croullebois@biblibre.com>
Thu, 20 Sep 2012 14:06:29 +0000 (16:06 +0200)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Wed, 28 Nov 2012 23:34:48 +0000 (18:34 -0500)
commit963b1af8a865ad4caf7df5315fc0c00480ecacd3
tree75e33d58dfbfa3d06cb6b272cd5c433df1b7b809
parent51b671224f08f40518e40461328d07ebd5df0968
Bug 8557: Prevents form validation by pressing "Enter"

this patch prevents a scan machine to send 'enter' to the form when it is not expected.
The patch is on orderreceive.tt and serials-edit.tt.
Written by Alex Arnaud. MT6626.

Signed-off-by: Marc Veron <veron@veron.ch>
Tested with receiving orders and receiving serials. Could reporduce problem befor applying the patch. After applying the patch both forms behaved as expected.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Checked order receive and serials edit page, barcode + enter does
no longer submit the form.
All tests pass.
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt
koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-edit.tt