ensure we call onFinished successfully if the user actually hits submit

This commit is contained in:
Matthew Hodgson 2016-03-18 11:12:37 +00:00
parent d0d22136f5
commit e63990a66e

View file

@ -54,7 +54,7 @@ module.exports = React.createClass({
onFormSubmit: function(ev) {
ev.preventDefault();
this.props.onFinished();
this.props.onFinished(true);
return false;
},