[BUGFIX] Multiple file upload in ElementBrowser doesn't work 82/27182/4
authorFrans Saris <franssaris@gmail.com>
Fri, 31 Jan 2014 09:51:54 +0000 (10:51 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Fri, 31 Jan 2014 21:14:25 +0000 (22:14 +0100)
commiteb291a3ebb55e9dd50c38b8abf9c5a96cba64a70
treecc9e7a356c2e567d89b1228c1fc7c4f08f6623cd
parent96a3446152794a1f56d9c340b6c755eb74ba9fbf
[BUGFIX] Multiple file upload in ElementBrowser doesn't work

The file input fields in the ElementBrowser have the attribute
multiple so you can select multiple files. But as the name
is no array it only uploads 1 file.

This patch changes the name attribute of the file input fields
to an array and shows the flashmessages when an error occurred
during upload.

Resolves: #55497
Releases: 6.2
Change-Id: I1315e35e2ef4cfa8175f962c42f32a5a33ffc16e
Reviewed-on: https://review.typo3.org/27182
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
typo3/sysext/backend/Classes/Template/DocumentTemplate.php
typo3/sysext/core/Classes/Utility/File/ExtendedFileUtility.php
typo3/sysext/recordlist/Classes/Browser/ElementBrowser.php
typo3/sysext/t3skin/Resources/Public/Css/visual/element_rte.css