From c251e45d0fa1c8f0647c1b065d296d6013b62d47 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Benoi=CC=82t=20Pin?= Date: Wed, 24 Jul 2013 11:54:12 +0200 Subject: [PATCH] =?utf8?q?Lib=C3=A9ration=20de=20la=20m=C3=A9moire=20de=20?= =?utf8?q?Firefox.=20Pas=20top=C2=A0:=20g=C3=A9n=C3=A8re=20une=20erreur=20?= =?utf8?q?404=20en=20cherchant=20http://bla.net/plinn/undefined=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- skins/fileupload.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/skins/fileupload.js b/skins/fileupload.js index 2b6c4a8..8f6eeda 100644 --- a/skins/fileupload.js +++ b/skins/fileupload.js @@ -93,6 +93,8 @@ DDFileUploader.prototype.uploadCompleteHandler = function(req) { var fragment = getCopyOfNode(req.responseXML.documentElement.firstChild); var img = fragment.getElementsByTagName('img')[0]; img.onload = function(evt) { + var preview = slide.getElementsByTagName('img')[0]; + preview.src = undefined; slide.parentNode.replaceChild(fragment, slide); }; this.previewsLoaded--; -- 2.20.1