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

--- Comment #10 from M. de Rooy <m.de.r...@rijksmuseum.nl> ---
Created attachment 18309
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=18309&action=edit
Bug 9507: prevent submit: refactor some code in a js file

This patch refactors code in a js file.

Test plan:
On acqui/neworderempty.pl, acqui/orderreceive.pl and
serials/serials-edit.tt try to scan a barcode (or press enter) on the
form and check that it is not sent.

Signed-off-by: Kyle M Hall <k...@bywatersolutions.com>
Signed-off-by: Marcel de Rooy <m.de.r...@rijksmuseum.nl>
Have to note that the code for IE9 does not work. Before and after this patch.
If we refactor code, it would have been nice to resolve this too.
But I do not oppose pushing this patch.
The test uses 'an ancient Netscape property' window.Event (uppercase!) to make
the distinction between browers and event models. Some more documentation here
would be welcome too.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to