]> git.koha-community.org Git - koha.git/commit
Bug 26224: Prevent double submit of header check in form
authorNick Clemens <nick@bywatersolutions.com>
Mon, 17 Aug 2020 10:16:14 +0000 (10:16 +0000)
committerVictor Grousset/tuxayo <victor@tuxayo.net>
Thu, 29 Oct 2020 16:56:26 +0000 (17:56 +0100)
commit369e496f1ab2c6ef89e652820e2c06f673a33b1e
tree5bc4b77d88e109ffeb3099fcb8a61c2a6d2f1bd1
parent5436117a5cdd04e00c227fe46cc5e0aa31732294
Bug 26224: Prevent double submit of header check in form

To test:
 1 - Browse to Home
 1 - In the header bar select the 'Check in' tab
 2 - Type a barcode into the box
 3 - Hit Enter as many as times as you can
 4 - Check the statistics table:
    SELECT * FROM statistics WHERE itemnumber={itemnumber} AND DATE(datetime)=CURDATE();
 5 - Note you have multiple lines for the same item at the same time
 6 - Apply patch
 7 - Reload the page
 8 - Type the barcode
 9 - Press Enter even more fast and more furiously
10 - Check the statistics table
11 - Only one entry, huzzah!

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 5d5a49a7ef165b7b47dda6357aaf2953dacfa362)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 51d3010b71f3f30492f6c0655ef2fd06ba909690)

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
(cherry picked from commit 5d5a298054f74e793305de665015c2551f188b9f)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
koha-tmpl/intranet-tmpl/prog/js/staff-global.js