Skip to content

Commit dfd1293

Browse files
committed
fix
1 parent 9b8e54a commit dfd1293

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
@@ -421,10 +421,11 @@
421421
if(first_occurrence == true) {
422422
oe.loaded = 0;
423423
e.loaded = 0;
424+
first_occurrence = false;
424425
} else {
425426
e.loaded = oe.loaded;
426-
first_occurrence = false;
427427
}
428+
e.total = oe.total;
428429
that._onProgress(e, options);
429430
});
430431
options.xhr = function () {

0 commit comments

Comments
 (0)