1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-23 01:39:36 +01:00
This commit is contained in:
Tim Daubenschütz 2015-06-25 14:18:55 +02:00
parent 08f574a42b
commit 12da6c1426
2 changed files with 4 additions and 0 deletions

View File

@ -27,6 +27,9 @@ let FileDragAndDropPreview = React.createClass({
}
},
// implement a handle cancel action here that triggers fineuploaders cancel method
// to delete files that are currently uploading
render() {
let previewElement;

View File

@ -221,6 +221,7 @@ var ReactS3FineUploader = React.createClass({
onCancel() {
console.log('cancel');
// handle file removal here, for this.state.filesToUpload (same as in onDeleteComplete)
},
onSessionRequestComplete() {