]> 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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 28 Sep 2020 14:09:10 +0000 (16:09 +0200)
commit5d5a49a7ef165b7b47dda6357aaf2953dacfa362
tree42a6295f11cd6d23c6dd9cc6cbae67bf358eee0d
parentbd6598d018d0a27b0704aed95e299f6fe0f1c2c1
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>
koha-tmpl/intranet-tmpl/prog/js/staff-global.js