PLT-6757 - fix js error when press enter in the confirmation dialog (#6589)

This commit is contained in:
Carlos Tadeu Panato Junior
2017-06-06 20:43:30 +02:00
committed by Joram Wilander
parent 04088009f8
commit fb55d9cc7d

View File

@@ -35,7 +35,7 @@ export default class ConfirmModal extends React.Component {
handleKeypress(e) {
if (e.key === 'Enter' && this.props.show) {
this.props.onConfirm();
this.props.onConfirm(e);
}
}