1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update docs

This commit is contained in:
Luke Pulverenti 2015-09-14 08:50:37 -04:00
parent 5d1ff60f3d
commit 59d8a3a853
11 changed files with 78 additions and 214 deletions

View file

@ -4,7 +4,7 @@
var self = this;
self.upload = function (file, name, url) {
self.upload = function (file, mimeType, name, url) {
var deferred = DeferredBuilder.Deferred();
@ -24,7 +24,7 @@
var options = new FileUploadOptions();
options.fileKey = "file";
options.fileName = name;
options.mimeType = 'image/jpg';
options.mimeType = mimeType;
var params = {};
options.params = params;