Fix syntax error and use internal event handler instead of duplicating it

This commit is contained in:
David Howell 2017-10-17 15:11:31 +10:30 committed by Ben Gotow
parent 47032bb049
commit be256482a4

View file

@ -102,7 +102,7 @@ export default class ComposerView extends React.Component {
'composer:show-and-focus-cc': () => this._els.header.showAndFocusField(Fields.Cc),
'composer:focus-to': () => this._els.header.showAndFocusField(Fields.To),
'composer:show-and-focus-from': () => {},
'composer:select-attachment': () => Actions.selectAttachment({ headerMessageId: this.props.draft.headerMessageId });,
'composer:select-attachment': () => this._onSelectAttachment(),
'core:undo': event => {
event.preventDefault();
event.stopPropagation();