Actions
Bug #72605
closedInlineControlContainer unnecessary dependency causes Problems
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2016-01-08
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
\TYPO3\CMS\Backend\Form\Container\InlineControlContainer
dependency between $allowed and $onlineMediaAllowed makes it impossible to create a button for "Add Media by URL" button only. You can't create this button without creating the "Select & Upload Files" Button.
Starting from Line 478 if ( $folder instanceof Folder && $folder->checkActionPermission('add') ) { // Create "Select & Upload Files" Button if (!empty($onlineMediaAllowed)) { // Create "Add Media by URL" Button } }
I suggest to seperate those both if querries.
Actions