diff options
Diffstat (limited to 'client/src/app/videos/video-add/video-add.component.html')
-rw-r--r-- | client/src/app/videos/video-add/video-add.component.html | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/client/src/app/videos/video-add/video-add.component.html b/client/src/app/videos/video-add/video-add.component.html index 64320cae7..14c7a0136 100644 --- a/client/src/app/videos/video-add/video-add.component.html +++ b/client/src/app/videos/video-add/video-add.component.html | |||
@@ -2,7 +2,7 @@ | |||
2 | 2 | ||
3 | <div *ngIf="error" class="alert alert-danger">{{ error }}</div> | 3 | <div *ngIf="error" class="alert alert-danger">{{ error }}</div> |
4 | 4 | ||
5 | <form novalidate (ngSubmit)="upload()" [formGroup]="form"> | 5 | <form novalidate [formGroup]="form"> |
6 | <div class="form-group"> | 6 | <div class="form-group"> |
7 | <label for="name">Name</label> | 7 | <label for="name">Name</label> |
8 | <input | 8 | <input |
@@ -68,8 +68,9 @@ | |||
68 | 68 | ||
69 | <div class="form-group"> | 69 | <div class="form-group"> |
70 | <input | 70 | <input |
71 | type="submit" value="Upload" class="btn btn-default form-control" [title]="getInvalidFieldsTitle()" | 71 | type="button" value="Upload" class="btn btn-default form-control" |
72 | [disabled]="!form.valid || tags.length === 0 || filename === null" | 72 | [title]="getInvalidFieldsTitle()" [disabled]="!form.valid || tags.length === 0 || filename === null" |
73 | (click)="upload()" | ||
73 | > | 74 | > |
74 | </div> | 75 | </div> |
75 | </form> | 76 | </form> |