Files
cms-core/Documentation/Changelog/8.2/Breaking-76285-PopupConfigurationIsMovedToTYPO3settings.rst

48 lines
1.3 KiB
ReStructuredText

.. include:: /Includes.rst.txt
.. _breaking-76285:
=================================================================
Breaking: #76285 - Popup configuration is moved to TYPO3.settings
=================================================================
See :issue:`76285`
Description
===========
The popup window configuration has been moved to `TYPO3.settings`.
The following configuration options are not working anymore.
* :js:`top.TYPO3.configuration.RTEPopupWindow.width`
* :js:`top.TYPO3.configuration.RTEPopupWindow.height`
* :js:`top.TYPO3.configuration.PopupWindow.width`
* :js:`top.TYPO3.configuration.PopupWindow.height`
Impact
======
Width and height are not set correctly anymore in JavaScript context.
Affected Installations
======================
Extensions that use one of the mentioned configurations.
Migration
=========
The migration can be done with the following replacements.
* :js:`top.TYPO3.configuration.RTEPopupWindow.width` to :js:`TYPO3.settings.Textarea.RTEPopupWindow.width`
* :js:`top.TYPO3.configuration.RTEPopupWindow.height` to :js:`TYPO3.settings.Textarea.RTEPopupWindow.height`
* :js:`top.TYPO3.configuration.PopupWindow.width` to :js:`TYPO3.settings.Popup.PopupWindow.width`
* :js:`top.TYPO3.configuration.PopupWindow.height` to :js:`TYPO3.settings.Popup.PopupWindow.height`
.. index:: JavaScript, Backend