X-Git-Url: https://scm.cri.mines-paristech.fr/git/Plinn.git/blobdiff_plain/0a4f1d633da324fd2da03cfbadadef0d8d7e3a3c..d76c7abb8c1c3d2041bcf91700c302f1d7271876:/skins/fileupload.js?ds=inline diff --git a/skins/fileupload.js b/skins/fileupload.js index 0d2ce8c..efef40b 100644 --- a/skins/fileupload.js +++ b/skins/fileupload.js @@ -70,7 +70,6 @@ DDFileUploader.prototype.upload = function(slide) { req.setRequestHeader("X-File-Name", file.name); addListener(reader, 'load', function(evt){ - console.info('load'); try { req.sendAsBinary(evt.target.result); } @@ -84,6 +83,9 @@ DDFileUploader.prototype.uploadCompleteHandler = function(evt) { this.uploadedSlide.removeChild(slide.label); this.uploadedSlide.removeChild(slide.progressBar); this.uploadQueueLoadNext(); + var req = getTargetedObject(evt); + console.log(req); + // this.slide.innerHTML = req.responseXML.documentElement }; DDFileUploader.prototype.progressHandler = function(evt) {