@@ -130,6 +217,7 @@ function fileToUploadChanged(e) {
$('#fileToUploadList').append('
Size limit exceeded:
' + fileList[i].name + ' - ' + humanFileSize(fileList[i].size) + ' (' + fileList[i].type + ')');
} else {
$('#fileToUploadList').append('
' + fileList[i].name + ' - ' + humanFileSize(fileList[i].size) + ' (' + fileList[i].type + ')
');
+ $('#fileToUploadList').append('
');
}
}
}
@@ -186,6 +274,8 @@ function uploadajax(ttl,cl) {
percent = Math.ceil(event.loaded / event.total * 100);
}
$('#prog'+cl).text(percent+'%')
+ $("#file-progress-bar-"+cl).width(percent + '%');
+ $("#file-progress-bar-"+cl).html(percent+'%');
}, false);
}
return xhr;