Issue Bug Closed

#71980RTE queryParametersSelector must be set

Eric Chavaillaz 11/30/15, 11:57 updated 10/02/18, 11:26

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

Reviews 1