mirror of
https://github.com/element-hq/element-web
synced 2024-11-26 19:26:04 +03:00
ensure we call onFinished successfully if the user actually hits submit
This commit is contained in:
parent
d0d22136f5
commit
e63990a66e
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ module.exports = React.createClass({
|
|||
|
||||
onFormSubmit: function(ev) {
|
||||
ev.preventDefault();
|
||||
this.props.onFinished();
|
||||
this.props.onFinished(true);
|
||||
return false;
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue