|
|
|
|
|
|
|
|
function upload_status() { |
|
|
function upload_status() { |
|
|
// console.log("upload_status"); |
|
|
// console.log("upload_status"); |
|
|
$.each(temp.upload, function (id, file) { |
|
|
$.each(temp.upload, function (id, file) { |
|
|
if ($('.autodoc_upload_status_' + id).length) { |
|
|
|
|
|
|
|
|
if (!$('.autodoc_upload_status_' + id).length) { |
|
|
console.log("creating element"); |
|
|
console.log("creating element"); |
|
|
var obj = $(".autodoc_template_progress").children().clone(); |
|
|
var obj = $(".autodoc_template_progress").children().clone(); |
|
|
$('.autodoc_upload_status').append(obj); |
|
|
$('.autodoc_upload_status').append(obj); |