mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update docs
This commit is contained in:
parent
5d1ff60f3d
commit
59d8a3a853
11 changed files with 78 additions and 214 deletions
4
dashboard-ui/cordova/fileupload.js
vendored
4
dashboard-ui/cordova/fileupload.js
vendored
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue