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

Maxime Pelletier <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Pushed to Master            |In Discussion
                 CC|                            |[email protected]

--- Comment #11 from Maxime Pelletier <[email protected]> ---
I just ran in a problem with this new function preventDoubleFormSubmit(). If
you place a hold and you have an error in the function check() then you won't
be able to submit the form.
The only idea I have to fix this is to add a setTimeout :

setTimeout(function(){$('#hold-request-form')[0].beenSubmitted = false;}, 2000)

after "this.beenSubmitted = true;" in preventDoubleFormSubmit(). This way you
can submit the form again in 2 seconds.
Anyone has a better idea ? If not I will send a patch.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to