mirror of https://github.com/vector-im/riot-web
ensure we call onFinished successfully if the user actually hits submit
parent
d0d22136f5
commit
e63990a66e
|
@ -54,7 +54,7 @@ module.exports = React.createClass({
|
||||||
|
|
||||||
onFormSubmit: function(ev) {
|
onFormSubmit: function(ev) {
|
||||||
ev.preventDefault();
|
ev.preventDefault();
|
||||||
this.props.onFinished();
|
this.props.onFinished(true);
|
||||||
return false;
|
return false;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue