[koha-commits] main Koha release repository branch new/bug_4054 created. v3.06.00-605-g945b39e
Git repo owner
gitmaster at git.koha-community.org
Mon Feb 20 15:29:00 CET 2012
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, new/bug_4054 has been created
at 945b39e01bbd736d6bffd53119347f7655a19874 (commit)
- Log -----------------------------------------------------------------
commit 945b39e01bbd736d6bffd53119347f7655a19874
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date: Tue Feb 14 13:49:54 2012 -0500
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 at 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 at biblibre.com>
commit a64ca0a8cfbd70d9c924657a93d3f2dc84bf7704
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date: Tue Feb 14 10:53:19 2012 -0500
Bug 4054 - Double-clicking the 'place hold' button can result in duplicate holds
This commit adds a new jquery function to staff-global.js, preventDoubleFormSubmit().
When used thusly: $('#form-id').preventDoubleFormSubmit();
It will prevent a submitted form from being submitted a second time.
It is currently only added to the Place Hold form in reserve/request.pl
http://bugs.koha-community.org/show_bug.cgi?id=4045
Signed-off-by: Liz Rea <wizzyrea at gmail.com>
Tested:
Double clicking no longer causes identical double holds to be placed.
passes prove t xt t/db_dependent in line with current master.
Reminder: this will need to be added to the OPAC as well.
-----------------------------------------------------------------------
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list