diff --git a/js/components/ascribe_uploader/file_drag_and_drop_preview.js b/js/components/ascribe_uploader/file_drag_and_drop_preview.js index 84853018..c58f6a38 100644 --- a/js/components/ascribe_uploader/file_drag_and_drop_preview.js +++ b/js/components/ascribe_uploader/file_drag_and_drop_preview.js @@ -57,7 +57,7 @@ let FileDragAndDropPreview = React.createClass({ url={this.props.file.url} toggleUploadProcess={this.toggleUploadProcess} areAssetsDownloadable={this.props.areAssetsDownloadable} - downloadFile={this.handleDownloadFile}/>); + downloadUrl={this.props.file.s3UrlSafe}/>); } else { previewElement = (); + downloadUrl={this.props.file.s3UrlSafe}/>); } return ( diff --git a/js/components/ascribe_uploader/file_drag_and_drop_preview_image.js b/js/components/ascribe_uploader/file_drag_and_drop_preview_image.js index 1cbf67e6..04d35a47 100644 --- a/js/components/ascribe_uploader/file_drag_and_drop_preview_image.js +++ b/js/components/ascribe_uploader/file_drag_and_drop_preview_image.js @@ -10,7 +10,7 @@ let FileDragAndDropPreviewImage = React.createClass({ progress: React.PropTypes.number, url: React.PropTypes.string, toggleUploadProcess: React.PropTypes.func, - downloadFile: React.PropTypes.func, + downloadUrl: React.PropTypes.string, areAssetsDownloadable: React.PropTypes.bool }, @@ -48,7 +48,7 @@ let FileDragAndDropPreviewImage = React.createClass({ // only if assets are actually downloadable, there should be a download icon if the process is already at // 100%. If not, no actionSymbol should be displayed if(this.props.areAssetsDownloadable) { - actionSymbol =