Actions
Bug #71980
closedRTE queryParametersSelector must be set
Start date:
2015-11-30
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
7
PHP Version:
5.6
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
Hi,
In the RTE, in the class "BrowseLinksController" on the line 411 there is a check to see if the variable "$this->buttonConfig['queryParametersSelector.']['enabled']" is set or not. The problem is that in the documentation, this variable is set to 0 by default. So this check is unnecessary because if somebody want to hide this input he must add the property in his page TS config : RTE.default.buttons.queryParametersSelector.enabled = 0.
I purpose to change the lines 411 to 414 like this :
if (!$this->buttonConfig['queryParametersSelector.']['enabled']) { unset($fieldRenderingDefinitions['params']); }
Thanks
Actions