mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 04:06:44 +02:00
ensure we call onFinished successfully if the user actually hits submit
This commit is contained in:
parent
d0d22136f5
commit
e63990a66e
@ -54,7 +54,7 @@ module.exports = React.createClass({
|
||||
|
||||
onFormSubmit: function(ev) {
|
||||
ev.preventDefault();
|
||||
this.props.onFinished();
|
||||
this.props.onFinished(true);
|
||||
return false;
|
||||
},
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user