|
|
@@ -232,6 +232,7 @@ function handle_uploads(ev) { |
|
|
|
} |
|
|
|
|
|
|
|
function upload_status() { |
|
|
|
var finished = 1; |
|
|
|
$.each(temp.upload, function(id, file) { |
|
|
|
console.log(id,file); |
|
|
|
var obj = $(".autodoc_template_progress").children(); |
|
|
@@ -244,6 +245,7 @@ function upload_status() { |
|
|
|
$(obj).children().css('width', "100%"); |
|
|
|
} |
|
|
|
else { |
|
|
|
finished=0; |
|
|
|
$(obj).children().addClass('bg-success'); |
|
|
|
$(obj).children().css('width', "100%"); |
|
|
|
} |
|
|
@@ -251,5 +253,7 @@ function upload_status() { |
|
|
|
console.log(obj); |
|
|
|
$('.autodoc_upload_status').append(obj); |
|
|
|
}); |
|
|
|
// setTimeout(upload_status, 1000); |
|
|
|
if ( !finished ) { |
|
|
|
setTimeout(upload_status, 1000); |
|
|
|
} |
|
|
|
} |