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.channelUid = null ; | ||||||
|         this.uploadsDone = 0; |         this.uploadsDone = 0; | ||||||
|         this.uploadsStarted = 0; |         this.uploadsStarted = 0; | ||||||
|  |         this.uploadResponses = []; | ||||||
|     } |     } | ||||||
|      |      | ||||||
|   openFileDialog() { |   openFileDialog() { | ||||||
| @ -165,9 +166,11 @@ class FileUploadGrid extends NjetComponent { | |||||||
|                 this.uploadResponses.push({file:file, remoteFile:data.file}) |                 this.uploadResponses.push({file:file, remoteFile:data.file}) | ||||||
|                 if(this.uploadsDone == this.uploadsStarted){ |                 if(this.uploadsDone == this.uploadsStarted){ | ||||||
|                     this.publish('file-uploads-done', this.uploadResponses); |                     this.publish('file-uploads-done', this.uploadResponses); | ||||||
|                 } |                     console.info({"X":this.uploadResponses}) | ||||||
|                     this.reset() |                     this.reset() | ||||||
|                 } |                 } | ||||||
|  | 
 | ||||||
|  |             } | ||||||
|         }; |         }; | ||||||
|     } |     } | ||||||
| } | } | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user