"fixed not working delete of filename to upload, after user declined to overwrite the file

(broken since r27247: fixing a problem reported for chrome and safari regarding the multiple upload of files in filemanager)"
This commit is contained in:
Ralf Becker 2009-10-05 12:34:47 +00:00
parent dfcc5bb967
commit b5673ab38a

View File

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