Resolve "Some TAs get access denied when clicking "approve""
All threads resolved!
Compare changes
@@ -15,9 +15,30 @@
The following was observed (as documented in the issue):
"TAs double click the approve button, causing 2 network requests. As the preauthorization checks if the request hasn't already been approved, the second click gets an Access Denied error, after the first click correctly approves the request".
A fix was implemented, but a further "safety-net" was implemented by disabling the button after it was clicked.
Add JS to check the validity of the fields, and disable the button if the field is valid and the respective button was clicked.
Closes #105 (closed)