Trigger the last action before continuing with a file upload, fixes issue #918

This commit is contained in:
Michael Gapczynski 2012-12-16 16:19:51 -05:00
parent 0c87f666ad
commit 2607c565b0

View file

@ -203,6 +203,9 @@ $(document).ready(function() {
var files = data.files;
var totalSize=0;
if(files){
if (FileList.lastAction) {
FileList.lastAction();
}
for(var i=0;i<files.length;i++){
if(files[i].size ==0 && files[i].type== '')
{