diff --git a/etemplate/js/etemplate.js b/etemplate/js/etemplate.js index ab52a5eb4d..fb5a1c43e2 100644 --- a/etemplate/js/etemplate.js +++ b/etemplate/js/etemplate.js @@ -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); }