From 855d379b434613893a94715524771bdcbb213dfc Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Fri, 12 Jun 2009 13:12:12 +0000 Subject: [PATCH] fixing a problem reported for chrome and safari regarding the multiple upload of files in filemanager --- etemplate/js/etemplate.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); }