소스 검색

debug

master
Pascal Gloor 5 년 전
부모
커밋
930b7f8e01
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2
    2
      www/js/autodoc.js

+ 2
- 2
www/js/autodoc.js 파일 보기

@@ -266,12 +266,12 @@ function upload_read_event(e) {
xhr: function()
{
var xhr = new window.XMLHttpRequest();
xhr.upload.addEventListener("progress", function(evt){
xhr.upload.addEventListener("progress", function(evt, x){
if (evt.lengthComputable) {
var progress = Math.floor(evt.loaded / evt.total * 50);
if ( progress < 1 ) { progress = 1; }
if ( progress > 49 ) { progress = 49; }
console.log("upload_progress_this", this);
console.log("upload_progress_this", x);
console.log("upload_progress_event", evt);
}
}, false);

Loading…
취소
저장