Skip to content

Commit

Permalink
fix(file-uploader):Changing url when files are selected does not work (
Browse files Browse the repository at this point in the history
…valor-software#448)

* fix issue valor-software#406 Changing url when files are selected does not work

* fix issue valor-software#406 Changing url when files are selected does not work

* fix issue valor-software#406 Changing url when files are selected does not work

fixes valor-software#406
  • Loading branch information
GuardianFree authored and valorkin committed Oct 19, 2016
1 parent 5af1761 commit 1a4eb3a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/file-upload/file-uploader.class.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ export class FileUploader {
this.options.filters.unshift({name: 'mimeType', fn: this._mimeTypeFilter});
}

for(let i = 0; i < this.queue.length; i++) {
this.queue[i].url = this.options.url;
}
// this.options.filters.unshift({name: 'folder', fn: this._folderFilter});
}

Expand Down

0 comments on commit 1a4eb3a

Please sign in to comment.