fixing a problem reported for chrome and safari regarding the multiple upload of files in filemanager

This commit is contained in:
Klaus Leithoff 2009-06-12 13:12:12 +00:00
parent aaab800d80
commit 855d379b43

View File

@ -295,5 +295,6 @@ function add_upload(upload)
var br = document.createElement('br'); var br = document.createElement('br');
parent.insertBefore(br,upload); parent.insertBefore(br,upload);
upload.id += parent.childNodes.length; upload.id += parent.childNodes.length;
upload.value = ''; newUpload.value = '';
parent.insertBefore(upload,newUpload);
} }