mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 18:21:40 -04:00
Merge pull request #4154 from nextcloud/stable11-4153
[stable11] Fix upload of folders in Chrome
This commit is contained in:
commit
392610e3c6
1 changed files with 2 additions and 1 deletions
|
|
@ -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 a new issue