Koha/koha-tmpl/opac-tmpl/prog/en
Kyle M Hall 945b39e01b Bug 4054 - Double-clicking the 'place hold' button can result in duplicate holds - Part 2: OPAC
This commit adds a new jquery function to functions.js, preventDoubleFormSubmit().
When used thusly: $('#form-id').preventDoubleFormSubmit();
It will prevent a submitted form from being submitted a second time.
This commit uses said function to prevent double processing a hold
request from the opac.

Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Rapid clicking on the place hold button no longer causes duplicate holds!
Passes prove t xt t/db_dependent in line with current master.

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
2012-02-17 19:22:52 +01:00
..
css Bug 7476 Remove executable bit from files that probably should not be executed 2012-02-03 14:22:15 +01:00
includes Bug 6985 - remove kw,wrdl from the search results 2012-02-17 10:44:47 +01:00
js Bug 4054 - Double-clicking the 'place hold' button can result in duplicate holds - Part 2: OPAC 2012-02-17 19:22:52 +01:00
lib Bug 6836: Add jQuery dataTables plugin 2012-01-27 11:33:11 +01:00
modules Bug 4054 - Double-clicking the 'place hold' button can result in duplicate holds - Part 2: OPAC 2012-02-17 19:22:52 +01:00
xslt Bug 6496 - correct the order of the author display in the OPAC 2012-02-17 18:57:42 +01:00