[BUGFIX] Setting capabilities to readonly show always drag+drop dialog 46/27946/6
authorRico Sonntag <rico.sonntag@netresearch.de>
Fri, 28 Feb 2014 13:57:47 +0000 (14:57 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Tue, 4 Mar 2014 18:09:15 +0000 (19:09 +0100)
commit4f5a8c1344a74f43477933467c300a9af651c8bf
tree00e7cb7f857c8c903873195b4baac0066dcc6c8d
parent9aaeaf5120638ef07087226d8409062a29f527ef
[BUGFIX] Setting capabilities to readonly show always drag+drop dialog

If a driver is readonly, the upload button in the file list disappears,
but the DragUploader is still activated - on the whole page.
Clicking anywhere on the list page causes an upload file selection to
pop up. Additionally the new button is shown but has no functionality.
The patch removes DragUploader and superfluous button.

Change-Id: I3f6c2e932d9f66feb6590f08229ddaaad06e688e
Resolves: #56443
Releases: 6.2
Reviewed-on: https://review.typo3.org/27946
Reviewed-by: Nicole Cordes
Tested-by: Nicole Cordes
Reviewed-by: Christian Weiske
Tested-by: Christian Weiske
Reviewed-by: Rico Sonntag
Tested-by: Rico Sonntag
Reviewed-by: Frans Saris
Tested-by: Frans Saris
typo3/sysext/filelist/Classes/Controller/FileListController.php