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:52:13 +0000 (12:52 -0400)
commit7bbc3f533a62e1b5a18203e4bbeff9a3c4d4af58
tree49a1072b4bcfd97ef9093da1e1adc5245ee8bbd9
parent124307b126919ed6f8e434d33373af1ba478b6aa
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