mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update camera upload
This commit is contained in:
parent
50dc5c4d1b
commit
a2d603a31e
19 changed files with 404 additions and 141 deletions
23
dashboard-ui/apiclient/fileupload.js
Normal file
23
dashboard-ui/apiclient/fileupload.js
Normal file
|
@ -0,0 +1,23 @@
|
|||
(function (globalScope) {
|
||||
|
||||
function fileUpload() {
|
||||
|
||||
var self = this;
|
||||
|
||||
self.upload = function (file, name, url) {
|
||||
|
||||
var deferred = DeferredBuilder.Deferred();
|
||||
|
||||
deferred.reject();
|
||||
|
||||
return deferred.promise();
|
||||
};
|
||||
}
|
||||
|
||||
if (!globalScope.MediaBrowser) {
|
||||
globalScope.MediaBrowser = {};
|
||||
}
|
||||
|
||||
globalScope.MediaBrowser.FileUpload = fileUpload;
|
||||
|
||||
})(this);
|
Loading…
Add table
Add a link
Reference in a new issue