Fixed error

This commit is contained in:
mauriziovitale84
2016-06-08 17:55:33 +01:00
parent d926921f69
commit afd5631bdb
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
{ {
"name": "ng2-alfresco-upload", "name": "ng2-alfresco-upload",
"description": "Alfresco Angular2 Upload Component", "description": "Alfresco Angular2 Upload Component",
"version": "0.1.33", "version": "0.1.34",
"author": "Alfresco Software, Ltd.", "author": "Alfresco Software, Ltd.",
"scripts": { "scripts": {
"typings": "typings install", "typings": "typings install",

View File

@@ -104,7 +104,7 @@ export class UploadButtonComponent {
* @param {File[]} files - files dropped in the drag area. * @param {File[]} files - files dropped in the drag area.
*/ */
onFilesAdded($event: any): void { onFilesAdded($event: any): void {
let files = $event.currentTarget.files;alfres let files = $event.currentTarget.files;
this.printFileInfo(files); this.printFileInfo(files);
this.uploadFiles(this.uploaddirectory, files); this.uploadFiles(this.uploaddirectory, files);
// reset the value of the input file // reset the value of the input file