From 8c9c1942f6b5675cfca802e2f707bef3c217afbf Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 18 Mar 2016 16:44:54 +0100 Subject: Change name of fields for add video api --- client/angular/videos/components/add/videos-add.component.html | 2 +- client/angular/videos/components/add/videos-add.component.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'client/angular/videos/components') diff --git a/client/angular/videos/components/add/videos-add.component.html b/client/angular/videos/components/add/videos-add.component.html index 4252d7abd..7336ad0c0 100644 --- a/client/angular/videos/components/add/videos-add.component.html +++ b/client/angular/videos/components/add/videos-add.component.html @@ -15,7 +15,7 @@
Select the video... - +
{{ fileToUpload.name }} diff --git a/client/angular/videos/components/add/videos-add.component.ts b/client/angular/videos/components/add/videos-add.component.ts index 9926aed63..0004cfa20 100644 --- a/client/angular/videos/components/add/videos-add.component.ts +++ b/client/angular/videos/components/add/videos-add.component.ts @@ -22,7 +22,7 @@ export class VideosAddComponent implements OnInit { constructor(private _router: Router, private _elementRef: ElementRef) {} ngOnInit() { - jQuery(this._elementRef.nativeElement).find('#input_video').fileupload({ + jQuery(this._elementRef.nativeElement).find('#videofile').fileupload({ url: '/api/v1/videos', dataType: 'json', singleFileUploads: true, -- cgit v1.2.3