| @@ -289,12 +289,13 @@ function upload_status() { | |||
| // console.log("upload_status"); | |||
| $.each(temp.upload, function (id, file) { | |||
| if ($('.autodoc_upload_status_' + id).length) { | |||
| console.log("creating element"); | |||
| var obj = $(".autodoc_template_progress").children().clone(); | |||
| $('.autodoc_upload_status').append(obj); | |||
| } | |||
| var obj = $('.autodoc_upload_status_' + id).children(); | |||
| console.log("upload child", obj); | |||
| if (file.error != null) { | |||
| $(obj).html(file.obj.name + ': ' + file.error); | |||
| $(obj).css('width', '100%'); | |||
| @@ -318,5 +319,5 @@ function upload_status() { | |||
| } | |||
| }); | |||
| setTimeout(function() { upload_status(); }, 100); | |||
| setTimeout(function() { upload_status(); }, 1000); | |||
| } | |||