diff options
author | clementbrizard <clementbrizard53@gmail.com> | 2019-01-12 13:45:23 +0000 |
---|---|---|
committer | clementbrizard <clementbrizard53@gmail.com> | 2019-01-12 13:45:23 +0000 |
commit | 1e74f19a2179df7fc2e0da73163ef2c3118cbecb (patch) | |
tree | d00a7b500e5ffe4973f4ce4a52b85da28733ae28 /client/src/app/videos/+video-edit/shared/video-edit.component.ts | |
parent | c80341655fce5e70ad6da7d812e2ddeb1f8ef7f2 (diff) | |
download | PeerTube-1e74f19a2179df7fc2e0da73163ef2c3118cbecb.tar.gz PeerTube-1e74f19a2179df7fc2e0da73163ef2c3118cbecb.tar.zst PeerTube-1e74f19a2179df7fc2e0da73163ef2c3118cbecb.zip |
Enable video upload and edit
Diffstat (limited to 'client/src/app/videos/+video-edit/shared/video-edit.component.ts')
-rw-r--r-- | client/src/app/videos/+video-edit/shared/video-edit.component.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/client/src/app/videos/+video-edit/shared/video-edit.component.ts b/client/src/app/videos/+video-edit/shared/video-edit.component.ts index 85e015901..d02f18ee9 100644 --- a/client/src/app/videos/+video-edit/shared/video-edit.component.ts +++ b/client/src/app/videos/+video-edit/shared/video-edit.component.ts | |||
@@ -45,6 +45,7 @@ export class VideoEditComponent implements OnInit, OnDestroy { | |||
45 | 45 | ||
46 | calendarLocale: any = {} | 46 | calendarLocale: any = {} |
47 | minScheduledDate = new Date() | 47 | minScheduledDate = new Date() |
48 | myYearRange = '1880:' + (new Date()).getFullYear() | ||
48 | 49 | ||
49 | calendarTimezone: string | 50 | calendarTimezone: string |
50 | calendarDateFormat: string | 51 | calendarDateFormat: string |
@@ -99,7 +100,8 @@ export class VideoEditComponent implements OnInit, OnDestroy { | |||
99 | thumbnailfile: null, | 100 | thumbnailfile: null, |
100 | previewfile: null, | 101 | previewfile: null, |
101 | support: this.videoValidatorsService.VIDEO_SUPPORT, | 102 | support: this.videoValidatorsService.VIDEO_SUPPORT, |
102 | schedulePublicationAt: this.videoValidatorsService.VIDEO_SCHEDULE_PUBLICATION_AT | 103 | schedulePublicationAt: this.videoValidatorsService.VIDEO_SCHEDULE_PUBLICATION_AT, |
104 | originallyPublishedAt: this.videoValidatorsService.VIDEO_ORIGINALLY_PUBLISHED_AT | ||
103 | } | 105 | } |
104 | 106 | ||
105 | this.formValidatorService.updateForm( | 107 | this.formValidatorService.updateForm( |