Fix loc error with cancelling in progress uploads

Этот коммит содержится в:
JoramWilander
2016-02-17 14:32:25 -05:00
родитель 65c036d23a
Коммит ccf897c7ee
3 изменённых файлов: 4 добавлений и 3 удалений

Просмотреть файл

@@ -34,6 +34,7 @@ class FileUpload extends React.Component {
this.uploadFiles = this.uploadFiles.bind(this);
this.handleChange = this.handleChange.bind(this);
this.handleDrop = this.handleDrop.bind(this);
this.cancelUpload = this.cancelUpload.bind(this);
this.state = {
requests: {}
@@ -331,4 +332,4 @@ FileUpload.propTypes = {
postType: React.PropTypes.string
};
export default injectIntl(FileUpload);
export default injectIntl(FileUpload, {withRef: true});