mirror of https://github.com/zulip/zulip.git
d37ddf13a4
This commit disables the button and shows a loading spinner on the button when signup request is being processed to avoid race conditions caused by user clicking on the button multiple times. The fix is done observing that for the case when form is invalid the whole page is rerendered and thus we do not need to remove the spinner and enable the button again and for other errors we redirect to some other page. And for the validation taking place in client-side, the button is disabled and spinner is shown, only is form is valid, by using "$('#registration').valid()". |
||
---|---|---|
.. | ||
analytics | ||
confirmation | ||
corporate | ||
tests | ||
two_factor | ||
zerver | ||
zilencer | ||
.gitignore | ||
404.html | ||
500.html |