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 somethingpull/21833/head
commit
74bd28025e
|
@ -94,7 +94,12 @@ module.exports = React.createClass({
|
||||||
if (payload.action !== "registration_step_update") {
|
if (payload.action !== "registration_step_update") {
|
||||||
return;
|
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) {
|
onFormSubmit: function(formVals) {
|
||||||
|
|
Loading…
Reference in New Issue