projects
/
Plinn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
934c239
)
Libération de la mémoire de Firefox. Pas top : génère une erreur 404 en cherchant...
author
Benoît Pin
<pin@cri.ensmp.fr>
Wed, 24 Jul 2013 09:54:12 +0000
(11:54 +0200)
committer
Benoît Pin
<pin@cri.ensmp.fr>
Wed, 14 Aug 2013 10:33:12 +0000
(12:33 +0200)
skins/fileupload.js
patch
|
blob
|
history
diff --git
a/skins/fileupload.js
b/skins/fileupload.js
index
2b6c4a8
..
8f6eeda
100644
(file)
--- 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 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--;
slide.parentNode.replaceChild(fragment, slide);
};
this.previewsLoaded--;