diff options
Diffstat (limited to 'client/src/app/videos/+video-edit/video-add-components/video-import-torrent.component.ts')
-rw-r--r-- | client/src/app/videos/+video-edit/video-add-components/video-import-torrent.component.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/client/src/app/videos/+video-edit/video-add-components/video-import-torrent.component.ts b/client/src/app/videos/+video-edit/video-add-components/video-import-torrent.component.ts index e47624dd6..4d0b0b080 100644 --- a/client/src/app/videos/+video-edit/video-add-components/video-import-torrent.component.ts +++ b/client/src/app/videos/+video-edit/video-add-components/video-import-torrent.component.ts | |||
@@ -72,6 +72,11 @@ export class VideoImportTorrentComponent extends VideoSend implements OnInit, Ca | |||
72 | this.importVideo(torrentfile) | 72 | this.importVideo(torrentfile) |
73 | } | 73 | } |
74 | 74 | ||
75 | setTorrentFile (files: FileList) { | ||
76 | this.torrentfileInput.nativeElement.files = files | ||
77 | this.fileChange() | ||
78 | } | ||
79 | |||
75 | importVideo (torrentfile?: Blob) { | 80 | importVideo (torrentfile?: Blob) { |
76 | this.isImportingVideo = true | 81 | this.isImportingVideo = true |
77 | 82 | ||