|
|
@@ -256,6 +256,7 @@ function upload_read_event(e) { |
|
|
|
|
|
|
|
temp.upload[e.data]['progress'] = 50; |
|
|
|
console.log(e.target.result); |
|
|
|
console.log("upload_id", e.data); |
|
|
|
$.ajax({ |
|
|
|
type: 'POST', |
|
|
|
url: conf.openapi + "/documents/" + temp.documentid + "/data", |
|
|
@@ -274,7 +275,7 @@ function upload_read_event(e) { |
|
|
|
if ( progress < 1 ) { progress = 1; } |
|
|
|
if ( progress > 49 ) { progress = 49; } |
|
|
|
temp.upload[id].progress = 50 + progress; |
|
|
|
console.log("upload_progress_event", evt); |
|
|
|
// console.log("upload_progress_event", evt); |
|
|
|
} |
|
|
|
} |
|
|
|
})(), false); |