diff options
author | hmhealey <harrisonmhealey@gmail.com> | 2016-02-04 11:05:59 -0500 |
---|---|---|
committer | hmhealey <harrisonmhealey@gmail.com> | 2016-02-04 14:49:10 -0500 |
commit | 9adc80c3fc5dfbf9b4ca2e16fd428599571a03ca (patch) | |
tree | 98a4b79e33f68204301be10e726a22c947bfee7b /web/react/components/file_upload.jsx | |
parent | 44c19ee443831e0e94b5738ecb21a64ce7643247 (diff) | |
download | chat-9adc80c3fc5dfbf9b4ca2e16fd428599571a03ca.tar.gz chat-9adc80c3fc5dfbf9b4ca2e16fd428599571a03ca.tar.bz2 chat-9adc80c3fc5dfbf9b4ca2e16fd428599571a03ca.zip |
Cleaned up textbox focus code
Diffstat (limited to 'web/react/components/file_upload.jsx')
-rw-r--r-- | web/react/components/file_upload.jsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/web/react/components/file_upload.jsx b/web/react/components/file_upload.jsx index 746289653..f5c32c825 100644 --- a/web/react/components/file_upload.jsx +++ b/web/react/components/file_upload.jsx @@ -310,6 +310,7 @@ class FileUpload extends React.Component { ref='fileInput' type='file' onChange={this.handleChange} + onClick={this.props.onClick} multiple={multiple} accept={accept} /> @@ -322,6 +323,7 @@ FileUpload.propTypes = { intl: intlShape.isRequired, onUploadError: React.PropTypes.func, getFileCount: React.PropTypes.func, + onClick: React.PropTypes.func, onFileUpload: React.PropTypes.func, onUploadStart: React.PropTypes.func, onTextDrop: React.PropTypes.func, |