Merge pull request #116 from matrix-org/dbkr/no_reg_spinner

Don't show a spinner while we're waiting for the user to do something
pull/21833/head
David Baker 2016-01-27 17:59:03 +00:00
commit 74bd28025e
1 changed files with 6 additions and 1 deletions

View File

@ -94,7 +94,12 @@ module.exports = React.createClass({
if (payload.action !== "registration_step_update") {
return;
}
this.forceUpdate(); // registration state has changed.
// If the registration state has changed, this means the
// user now needs to do something. It would be better
// to expose the explicitly in the register logic.
this.setState({
busy: false
});
},
onFormSubmit: function(formVals) {