diff --git a/etemplate/js/etemplate.js b/etemplate/js/etemplate.js index 2647a2cc2d..ab52a5eb4d 100644 --- a/etemplate/js/etemplate.js +++ b/etemplate/js/etemplate.js @@ -295,5 +295,6 @@ function add_upload(upload) var br = document.createElement('br'); parent.insertBefore(br,upload); upload.id += parent.childNodes.length; - upload.value = ''; + newUpload.value = ''; + parent.insertBefore(upload,newUpload); }