aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/videos')
-rw-r--r--client/src/app/videos/+video-edit/shared/video-caption-add-modal.component.ts7
1 files changed, 1 insertions, 6 deletions
diff --git a/client/src/app/videos/+video-edit/shared/video-caption-add-modal.component.ts b/client/src/app/videos/+video-edit/shared/video-caption-add-modal.component.ts
index 5498dac22..d084a4908 100644
--- a/client/src/app/videos/+video-edit/shared/video-caption-add-modal.component.ts
+++ b/client/src/app/videos/+video-edit/shared/video-caption-add-modal.component.ts
@@ -76,13 +76,8 @@ export class VideoCaptionAddModalComponent extends FormReactive implements OnIni
76 76
77 this.captionAdded.emit({ 77 this.captionAdded.emit({
78 language: languageObject, 78 language: languageObject,
79 captionfile: this.form.value['captionfile'] 79 captionfile: this.form.value[ 'captionfile' ]
80 }) 80 })
81 //
82 // this.form.patchValue({
83 // language: null,
84 // captionfile: null
85 // })
86 81
87 this.form.reset() 82 this.form.reset()
88 } 83 }