You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-19 20:23:18 +03:00
ensure we call onFinished successfully if the user actually hits submit
This commit is contained in:
@ -54,7 +54,7 @@ module.exports = React.createClass({
|
||||
|
||||
onFormSubmit: function(ev) {
|
||||
ev.preventDefault();
|
||||
this.props.onFinished();
|
||||
this.props.onFinished(true);
|
||||
return false;
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user