diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-10-09 17:53:57 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-10-09 17:53:57 +0200 |
commit | 926b3c9b7be2c3f0d71a64a60006d373f689da39 (patch) | |
tree | 20957e2f0454879f73da01d0dea131cb702f3632 /apps/files/js/file-upload.js | |
parent | 48b5c1d5f934fb4f6c58bf196b81ee8089217e52 (diff) | |
parent | 223adc3167d82d8bcd88b19aae78b1da2773e729 (diff) | |
download | nextcloud-server-926b3c9b7be2c3f0d71a64a60006d373f689da39.tar.gz nextcloud-server-926b3c9b7be2c3f0d71a64a60006d373f689da39.zip |
Merge branch 'master' into activities-api
Diffstat (limited to 'apps/files/js/file-upload.js')
-rw-r--r-- | apps/files/js/file-upload.js | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/apps/files/js/file-upload.js b/apps/files/js/file-upload.js index b52221ac1fc..f1ef485fc3d 100644 --- a/apps/files/js/file-upload.js +++ b/apps/files/js/file-upload.js @@ -42,26 +42,6 @@ function supportAjaxUploadWithProgress() { OC.Upload = { _uploads: [], /** - * cancels a single upload, - * @deprecated because it was only used when a file currently beeing uploaded was deleted. Now they are added after - * they have been uploaded. - * @param {string} dir - * @param {string} filename - * @returns {unresolved} - */ - cancelUpload:function(dir, filename) { - var self = this; - var deleted = false; - //FIXME _selections - jQuery.each(this._uploads, function(i, jqXHR) { - if (selection.dir === dir && selection.uploads[filename]) { - deleted = self.deleteSelectionUpload(selection, filename); - return false; // end searching through selections - } - }); - return deleted; - }, - /** * deletes the jqHXR object from a data selection * @param {object} data */ |