Merge pull request #4153 from nextcloud/fix-upload
Fix upload of folders in Chrome
This commit is contained in:
commit
287bae8c5f
|
@ -537,7 +537,8 @@ OC.Uploader.prototype = _.extend({
|
|||
getUpload: function(data) {
|
||||
if (_.isString(data)) {
|
||||
return this._uploads[data];
|
||||
} else if (data.uploadId) {
|
||||
} else if (data.uploadId && this._uploads[data.uploadId]) {
|
||||
this._uploads[data.uploadId].data = data;
|
||||
return this._uploads[data.uploadId];
|
||||
}
|
||||
return null;
|
||||
|
|
Loading…
Reference in New Issue