[Koha-bugs] [Bug 4054] Double-clicking the 'place hold' button can result in duplicate holds

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Dec 22 12:34:34 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4054

--- Comment #15 from Marc Véron <veron at veron.ch> ---
There seems to be some code to prevent double click submit:

koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt line 179
    $('#hold-request-form').preventDoubleFormSubmit();

Hmm, if I have a JavaScript alert e.g. 
"- This patron had already placed a hold on this item"
and I click OK, I get an endless wait cursor!

This issue goes away if I remove the line with the preventDoubleFormSubmit.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list