|
|
|
|
|
|
|
|
url: conf.openapi + "/documents/" + temp.documentid + "/data", |
|
|
url: conf.openapi + "/documents/" + temp.documentid + "/data", |
|
|
data: e.target.result, |
|
|
data: e.target.result, |
|
|
contentType: temp.upload[e.data].obj.type, |
|
|
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, |
|
|
processData: false, |
|
|
xhr: function () { |
|
|
xhr: function () { |
|
|
var xhr = $.ajaxSettings.xhr(); |
|
|
var xhr = $.ajaxSettings.xhr(); |