[BUGFIX] Remove dependency to DocumentTemplate in FormEngine 16/44116/5
authorAndreas Bouche <andreas.bouche@flagbit.de>
Fri, 16 Oct 2015 17:04:14 +0000 (19:04 +0200)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Fri, 23 Oct 2015 13:02:14 +0000 (15:02 +0200)
commite0cd518a2246a7a04c6e82124d7f4578f6be4abb
tree6c3482a5cfb91400da91e01cbb22aa16bbb07f0f
parentf556584662e2d43e9ffcdd328adc495aaee2c1d9
[BUGFIX] Remove dependency to DocumentTemplate in FormEngine

Move wrapClickMenuOnIcon() from DocumentTemplate to BackendUtility
next to similar static helper methods of this kind. This reduces
the need to have an instance of DocumentTemplate available which
is not always the case for instance in inline ajax requests.

Resolves: #70494
Releases: master
Change-Id: I977d79d48ffce5db84c9a91b8fac233edbc238ec
Reviewed-on: https://review.typo3.org/44116
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Jan Helke <typo3@helke.de>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
19 files changed:
typo3/sysext/backend/Classes/Form/Container/AbstractContainer.php
typo3/sysext/backend/Classes/Form/Container/OuterWrapContainer.php
typo3/sysext/backend/Classes/Form/Element/AbstractFormElement.php
typo3/sysext/backend/Classes/Form/Utility/FormEngineUtility.php
typo3/sysext/backend/Classes/Template/Components/MetaInformation.php
typo3/sysext/backend/Classes/Template/DocumentTemplate.php
typo3/sysext/backend/Classes/Template/ModuleTemplate.php
typo3/sysext/backend/Classes/Tree/View/BrowseTreeView.php
typo3/sysext/backend/Classes/Tree/View/FolderTreeView.php
typo3/sysext/backend/Classes/Utility/BackendUtility.php
typo3/sysext/backend/Classes/View/PageLayoutView.php
typo3/sysext/backend/Classes/View/PageTreeView.php
typo3/sysext/core/Documentation/Changelog/7.0/Breaking-33805-ClickMenuRewrite.rst
typo3/sysext/core/Documentation/Changelog/master/Deprecation-70494-WrapClickMenuOnIcon.rst [new file with mode: 0644]
typo3/sysext/filelist/Classes/FileList.php
typo3/sysext/filelist/Classes/ViewHelpers/Link/ClickMenuOnIconViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/Be/PageInfoViewHelper.php
typo3/sysext/frontend/Classes/Controller/TranslationStatusController.php
typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php