From 7aeb483fcc3645c346b1dbcbf1f415348b0be5f3 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 18 Nov 2011 11:59:31 +0000 Subject: [PATCH] * Filemanager: Firefox 3.5 gives error "Theres already a directory with that name" when trying to upload a file fix works now for FF 3.5 AND FF 7+ --- filemanager/inc/class.filemanager_ui.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filemanager/inc/class.filemanager_ui.inc.php b/filemanager/inc/class.filemanager_ui.inc.php index 5ef5550ce2..c50a13c41b 100644 --- a/filemanager/inc/class.filemanager_ui.inc.php +++ b/filemanager/inc/class.filemanager_ui.inc.php @@ -463,7 +463,7 @@ function check_files(upload) { for(var i = 0; i < upload.files.length; ++i) { - files.push(upload.files[i].name); + files.push(upload.files[i].name || upload.files[i].fileName); } } else if (upload.value)