Browse Source

sdf

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

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

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: e.data },
context: e.data,
processData: false, processData: false,
xhr: function() xhr: function()
{ {
success: function(data, status, xhr){ success: function(data, status, xhr){
console.log("upload_success_this", this); console.log("upload_success_this", this);
//var ctx = this.context; //var ctx = this.context;
//temp.upload[ctx['id']].progress = 100;
//temp.upload[this.context].progress = 100;


} }
}); });

Loading…
Cancel
Save