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()". |
||
---|---|---|
.. | ||
confirm-preregistrationuser.js | ||
desktop-login.js | ||
desktop-redirect.js | ||
dev-login.js | ||
email_log.js | ||
google-analytics.js | ||
header.js | ||
help.js | ||
integrations.js | ||
integrations_dev_panel.js | ||
landing-page.js | ||
signup.js | ||
tabbed-instructions.js | ||
team.js |