[BUGFIX] Add localizationStateSelector to some elements 01/52001/2
authorChristian Kuhn <lolli@schwarzbu.ch>
Fri, 10 Mar 2017 21:16:31 +0000 (22:16 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 13 Mar 2017 13:39:48 +0000 (14:39 +0100)
When the localizationStateSelector has been added, it has been
forgotten for some elements. Add the wizard to both RTE's and t3editor.

Change-Id: If1ad3503f4ffde7d1dd8153708bb7da21c87e308
Resolves: #80234
Releases: master
Reviewed-on: https://review.typo3.org/52001
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/rte_ckeditor/Classes/Form/Element/RichTextElement.php
typo3/sysext/rtehtmlarea/Classes/Form/Element/RichTextElement.php
typo3/sysext/t3editor/Classes/Form/Element/T3editorElement.php

index 6677279..d5770f8 100644 (file)
@@ -33,8 +33,14 @@ class RichTextElement extends AbstractFormElement
      * @var array
      */
     protected $defaultFieldWizard = [
+        'localizationStateSelector' => [
+            'renderType' => 'localizationStateSelector',
+        ],
         'otherLanguageContent' => [
             'renderType' => 'otherLanguageContent',
+            'after' => [
+                'localizationStateSelector'
+            ],
         ],
         'defaultLanguageDifferences' => [
             'renderType' => 'defaultLanguageDifferences',
index 50729f8..ac4f3fd 100644 (file)
@@ -181,8 +181,14 @@ class RichTextElement extends AbstractFormElement
      * @var array
      */
     protected $defaultFieldWizard = [
+        'localizationStateSelector' => [
+            'renderType' => 'localizationStateSelector',
+        ],
         'otherLanguageContent' => [
             'renderType' => 'otherLanguageContent',
+            'after' => [
+                'localizationStateSelector'
+            ],
         ],
         'defaultLanguageDifferences' => [
             'renderType' => 'defaultLanguageDifferences',
index 92079e1..b7fd643 100644 (file)
@@ -93,8 +93,14 @@ class T3editorElement extends AbstractFormElement
      * @var array
      */
     protected $defaultFieldWizard = [
+        'localizationStateSelector' => [
+            'renderType' => 'localizationStateSelector',
+        ],
         'otherLanguageContent' => [
             'renderType' => 'otherLanguageContent',
+            'after' => [
+                'localizationStateSelector'
+            ],
         ],
         'defaultLanguageDifferences' => [
             'renderType' => 'defaultLanguageDifferences',