From bd91faac408f84043a85815c89f728a1d46d89ce Mon Sep 17 00:00:00 2001 From: =?utf8?q?Benoi=CC=82t=20Pin?= Date: Mon, 22 Jul 2013 23:23:41 +0200 Subject: [PATCH] =?utf8?q?On=20va=20essayer=20d'afficher=20le=20r=C3=A9sul?= =?utf8?q?tat=20de=20la=20XHR.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- skins/fileupload.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) { -- 2.20.1