瀏覽代碼

debug

master
Pascal Gloor 5 年之前
父節點
當前提交
5030516681
共有 1 個檔案被更改,包括 3 行新增2 行删除
  1. 3
    2
      www/js/autodoc.js

+ 3
- 2
www/js/autodoc.js 查看文件

@@ -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);
}

Loading…
取消
儲存