Merge pull request #11928 from stweil/fix
Fix use of undeclared variable
This commit is contained in:
commit
41fbda00ed
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue