diff options
author | Corey Hulen <corey@hulen.com> | 2016-02-04 15:36:28 -0800 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2016-02-04 15:36:28 -0800 |
commit | 392b878a108492a56cbc2ed68acc7130cac96c0d (patch) | |
tree | 71bd17bbd191d0e010ea38e4c5e902cde635c61e /web/react/components/file_upload.jsx | |
parent | af6ade338002a215ff7c7771f7fe6bbbb06f0cd7 (diff) | |
parent | c4344f8c02227f77165f4592e0c87c323b7e00f5 (diff) | |
download | chat-392b878a108492a56cbc2ed68acc7130cac96c0d.tar.gz chat-392b878a108492a56cbc2ed68acc7130cac96c0d.tar.bz2 chat-392b878a108492a56cbc2ed68acc7130cac96c0d.zip |
Merge pull request #2071 from hmhealey/plt1820
PLT-1820/PLT-1847 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, |