Merge pull request #4154 from nextcloud/stable11-4153
[stable11] Fix upload of folders in Chrome
This commit is contained in:
commit
392610e3c6
|
@ -540,7 +540,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