Merge pull request #11928 from stweil/fix

Fix use of undeclared variable
This commit is contained in:
Roeland Jago Douma 2018-10-23 21:15:53 +02:00 committed by GitHub
commit 41fbda00ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -3176,9 +3176,9 @@
* update counter when uploading to sub folder * update counter when uploading to sub folder
*/ */
uploader.on('done', function(e, upload) { uploader.on('done', function(e, upload) {
var data = upload.data;
self._uploader.log('filelist handle fileuploaddone', e, data); self._uploader.log('filelist handle fileuploaddone', e, data);
var data = upload.data;
var status = data.jqXHR.status; var status = data.jqXHR.status;
if (status < 200 || status >= 300) { if (status < 200 || status >= 300) {
// error was handled in OC.Uploads already // error was handled in OC.Uploads already