[Bug 4054] Double-clicking the 'place hold' button can result in duplicate holds
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4054 Liz Rea <wizzyrea@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #7642|0 |1 is obsolete| | --- Comment #6 from Liz Rea <wizzyrea@gmail.com> 2012-02-14 21:44:19 UTC --- Created attachment 7647 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=7647 [Signed Off] 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. -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA Contact for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org