LP#1029601: Prevent double-clicking when submitting hold requests.
authorDaniel Pearl <dpearl@cwmars.org>
Wed, 12 Dec 2018 17:51:07 +0000 (12:51 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Mon, 17 Jun 2019 21:13:53 +0000 (17:13 -0400)
commitfbc9568473c6db9b1378f2a7f8d6728a99d64344
treedffd5ca3c5c0b7f0476113797561c7c1bf2172e9
parent770f38227473f6eda1aea756aadd41c2c00e56ce
LP#1029601: Prevent double-clicking when submitting hold requests.

Double clicking on hold submit buttons causes multiple holds to be generated.  This adds some 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>
Open-ILS/src/templates/opac/parts/place_hold_result.tt2
Open-ILS/web/js/ui/default/opac/holds-validation.js