summaryrefslogtreecommitdiffstats
path: root/apps/files/js
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2018-10-23 21:15:53 +0200
committerGitHub <noreply@github.com>2018-10-23 21:15:53 +0200
commit41fbda00edd42b5d4f6036959064410016d3f226 (patch)
tree463aff2e8a3e3958443c5c021161246f74c28c03 /apps/files/js
parent530e39b0612b6abaa0a17b7fabb7daefb1201bd6 (diff)
parenta887c6e77b15a57f67e5fa4c6b823d22734c354f (diff)
downloadnextcloud-server-41fbda00edd42b5d4f6036959064410016d3f226.tar.gz
nextcloud-server-41fbda00edd42b5d4f6036959064410016d3f226.zip
Merge pull request #11928 from stweil/fix
Fix use of undeclared variable
Diffstat (limited to 'apps/files/js')
-rw-r--r--apps/files/js/filelist.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index a4d306edc19..2211505f6d5 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -3176,9 +3176,9 @@
* update counter when uploading to sub folder
*/
uploader.on('done', function(e, upload) {
+ var data = upload.data;
self._uploader.log('filelist handle fileuploaddone', e, data);
- var data = upload.data;
var status = data.jqXHR.status;
if (status < 200 || status >= 300) {
// error was handled in OC.Uploads already