Browse Source

debug

master
Pascal Gloor 5 years ago
parent
commit
5030516681
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      www/js/autodoc.js

+ 3
- 2
www/js/autodoc.js View File

@@ -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…
Cancel
Save