Skip to content

Commit ad71219

Browse files
dimanlinsidorovua
authored andcommitted
fix
1 parent 1b191f7 commit ad71219

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/assets/javascripts/jquery-fileupload/jquery.fileupload.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,10 +428,11 @@
428428
if(first_occurrence == true) {
429429
oe.loaded = 0;
430430
e.loaded = 0;
431+
first_occurrence = false;
431432
} else {
432433
e.loaded = oe.loaded;
433-
first_occurrence = false;
434434
}
435+
e.total = oe.total;
435436
that._onProgress(e, options);
436437
});
437438
options.xhr = function () {

0 commit comments

Comments
 (0)