From 8718d5e7245d0d80356e915c7d1b0f7f97b33ddf 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 1/1] =?utf8?q?Lib=C3=A9ration=20de=20la=20m=C3=A9moire=20d?= =?utf8?q?e=20Firefox.=20Pas=20top=C2=A0:=20g=C3=A9n=C3=A8re=20une=20erreu?= =?utf8?q?r=20404=20en=20cherchant=20http://bla.net/plinn/undefined?= =?utf8?q?=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