Browse Source

debug

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

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

$.ajax({ $.ajax({
type: 'POST', type: 'POST',
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,
context: e.data, context: e.data,
xhr: function() xhr: function()
{ {
}, false); }, false);
return xhr; return xhr;
}, },
success: function(data){
console.log("upload_complete",data);
success: function(data, status, xhr){
console.log("upload_complete",data, status, xhr);
} }
}); });

Loading…
Cancel
Save