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

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

}
});

Loading…
Cancel
Save