Fix upload of folders in Chrome
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
d17678b5b2
commit
6e72fd5f9f
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue