diff --git a/common/js/plugins/uploader/uploader.js b/common/js/plugins/uploader/uploader.js index 0232c91d0..f11c29d66 100644 --- a/common/js/plugins/uploader/uploader.js +++ b/common/js/plugins/uploader/uploader.js @@ -466,7 +466,7 @@ runtimes.flash = { var old_length = uploader.files.length; $.each(files, function() { - uploader.files.push(new File(this, this.fileSize)) + uploader.files.push(new File(this, this.size)) }); uploader.cast('ON_SELECT', [uploader.files, old_length]); @@ -564,9 +564,6 @@ runtimes.flash = { (function uploadNext(){ var file = files.shift(); - uploader.flash.startUpload(file.object.index); - - uploader.cast('ON_STARTONE', [file]); function nextOrFinish() { if (files.length) { @@ -596,6 +593,10 @@ runtimes.flash = { file.status = 'FAILED'; nextOrFinish(); }; + + uploader.flash.startUpload(file.object.index); + + uploader.cast('ON_STARTONE', [file]); })(); }, stop : function(uploader, settings) { diff --git a/common/js/plugins/uploader/uploader.swf b/common/js/plugins/uploader/uploader.swf index 2cf2b63ec..a87a12909 100644 Binary files a/common/js/plugins/uploader/uploader.swf and b/common/js/plugins/uploader/uploader.swf differ