[TASK] Show by default only 1 file upload field in elementbrowser 99/28699/2
authorFrans Saris <franssaris@gmail.com>
Mon, 24 Mar 2014 13:26:48 +0000 (14:26 +0100)
committerHelmut Hummel <helmut.hummel@typo3.org>
Tue, 25 Mar 2014 13:30:05 +0000 (14:30 +0100)
commitb0f12bd9a34372a0f521d301f0a1c4fde26c38c8
treedc524edc6ee7ca8419b0c9ab210a146b441a0ea0
parent239e01d1a3c7936252f6510a9cd436be1585fb29
[TASK] Show by default only 1 file upload field in elementbrowser

Since the input type=file now supports multiple file selection
and this is suppoterd by all modern browsers.
So showing only 1 filepicker by default is enough.

For users with older browser they can use the already existing
options.folderTree.uploadFieldsInLinkBrowser tsconfig to show
multiple fields.

This patch changes the hardcoded default value to 1.

Resolves: #57170
Releases: 6.2
Change-Id: Ia2dfcc3ae81dff66ba4c389a4b99b819186f63c0
Reviewed-on: https://review.typo3.org/28699
Reviewed-by: Philipp Gampe
Reviewed-by: Sebastian Fischer
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
typo3/sysext/recordlist/Classes/Browser/ElementBrowser.php