mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Merge pull request #11928 from stweil/fix
Fix use of undeclared variable
This commit is contained in:
commit
41fbda00ed
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue