@@ -269,7 +269,8 @@ function upload_read_event(e) { | |||
url: conf.openapi + "/documents/" + temp.documentid + "/data", | |||
data: e.target.result, | |||
contentType: temp.upload[e.data].obj.type, | |||
context: { id: 0 + (function () { var x = e.data; console.log("upload_id", x); return x; }()) }, | |||
// context: { id: 0 + (function () { var x = e.data; console.log("upload_id", x); return x; }()) }, | |||
context: { id: e.data }, | |||
processData: false, | |||
xhr: function () { | |||
var xhr = $.ajaxSettings.xhr(); |