mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
23 lines
429 B
JavaScript
23 lines
429 B
JavaScript
![]() |
(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);
|