That's how we do in the east.
This commit is contained in:
parent
8321761358
commit
9a0ba22fe8
@ -12,6 +12,7 @@ class FileUploadGrid extends NjetComponent {
|
||||
this.channelUid = null ;
|
||||
this.uploadsDone = 0;
|
||||
this.uploadsStarted = 0;
|
||||
this.uploadResponses = [];
|
||||
}
|
||||
|
||||
openFileDialog() {
|
||||
@ -165,8 +166,10 @@ class FileUploadGrid extends NjetComponent {
|
||||
this.uploadResponses.push({file:file, remoteFile:data.file})
|
||||
if(this.uploadsDone == this.uploadsStarted){
|
||||
this.publish('file-uploads-done', this.uploadResponses);
|
||||
console.info({"X":this.uploadResponses})
|
||||
this.reset()
|
||||
}
|
||||
this.reset()
|
||||
|
||||
}
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user