Pascal Gloor 6 лет назад
Родитель
Сommit
1aca541a6d
1 измененных файлов: 4 добавлений и 2 удалений
  1. 4
    2
      www/js/autodoc.js

+ 4
- 2
www/js/autodoc.js Просмотреть файл

$.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);
} }
}); });

Загрузка…
Отмена
Сохранить