diff --git a/content/developer/reference/frontend/javascript_reference.rst b/content/developer/reference/frontend/javascript_reference.rst index 685aa425b..b941345e8 100644 --- a/content/developer/reference/frontend/javascript_reference.rst +++ b/content/developer/reference/frontend/javascript_reference.rst @@ -2161,22 +2161,9 @@ do that, several steps should be done. var MyClientAction = AbstractAction.extend({ hasControlPanel: true, - loadControlPanel: true, // default: false ... }); - .. warning:: - When the ``loadControlPanel`` is set to true, the client action will automatically get the content of a search view or a control panel view. - In this case, a model name should be specified like this: - - .. code-block:: javascript - - init: function (parent, action, options) { - ... - this.controlPanelParams.modelName = 'model.name'; - ... - } - - Call the method *updateControlPanel* whenever we need to update the control panel. For example: