actually pass ev through

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/21833/head
Michael Telatynski 2017-06-03 15:51:20 +01:00
parent 4032a820f0
commit 1bbdb6c985
1 changed files with 3 additions and 4 deletions

View File

@ -110,13 +110,12 @@ module.exports = React.createClass({
button: _t("Continue"),
onFinished: function(confirmed) {
if (confirmed) {
self._doSubmit();
self._doSubmit(ev);
}
},
});
}
else {
self._doSubmit();
} else {
self._doSubmit(ev);
}
}
},