LP#1029601: Prevent duplicate holds from double clicks
authorDaniel Pearl <dpearl@cwmars.org>
Wed, 12 Dec 2018 17:51:07 +0000 (12:51 -0500)
committerJason Stephenson <jason@sigio.com>
Tue, 21 May 2019 16:50:44 +0000 (12:50 -0400)
commit7001d89f8528783fadfa948801c0d1db3be0a65a
tree33badbf88b588ef13578592789240490ba8e8967
parent6c12896fc3da943d5501e2ef4fdc31944804a5dc
LP#1029601: Prevent duplicate holds from double clicks

Double clicking on hold submit buttons causes multiple holds to be
generated.  This commits adds code to disable the Submit button(s)
after the first click, so subsequent clicks don't "work" in unintended
ways.

Signed-off-by: Dan Pearl <dpearl@cwmars.org>
Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Open-ILS/src/templates/opac/parts/place_hold_result.tt2
Open-ILS/web/js/ui/default/opac/holds-validation.js