Blame view
sources/apps/files/js/upload.js
404 Bytes
|
6d9380f96
|
1 2 3 4 5 6 7 8 9 10 11 |
/* * Copyright (c) 2014 * * This file is licensed under the Affero General Public License version 3 * or later. * * See the COPYING-README file. * */ /* global OC */ |
|
03e52840d
|
12 13 14 15 16 17 18 19 |
function Upload(fileSelector) {
if ($.support.xhrFileUpload) {
return new XHRUpload(fileSelector.target.files);
} else {
return new FormUpload(fileSelector);
}
}
Upload.target = OC.filePath('files', 'ajax', 'upload.php');
|