Revert "[BUGFIX] JS: Add missing dependency on FormEngineValidation" 76/52176/2
authorMarkus Klein <markus.klein@typo3.org>
Mon, 27 Mar 2017 13:35:02 +0000 (14:35 +0100)
committerMarkus Klein <markus.klein@typo3.org>
Mon, 27 Mar 2017 13:39:54 +0000 (15:39 +0200)
This reverts commit b07bb2e9fb011a999a01ffb5ab323691f866179d.

The patch is replaced by a better solution.
Revert is only done for master, backport was
not done yet.

Change-Id: Ibcabb095e0043dd21cd694142d93baea7dc8e8c5
Reverts: #80459
Releases: master
Reviewed-on: https://review.typo3.org/52176
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/backend/Resources/Public/JavaScript/FormEngineFlexForm.js
typo3/sysext/rte_ckeditor/Classes/Form/Element/RichTextElement.php
typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Editor/Editor.js

index 0c32631..458b3d1 100644 (file)
@@ -22,8 +22,7 @@
  */
 define(['jquery',
                'TYPO3/CMS/Backend/Modal',
-               'TYPO3/CMS/Backend/FormEngine',
-               'TYPO3/CMS/Backend/FormEngineValidation'
+               'TYPO3/CMS/Backend/FormEngine'
           ], function ($, Modal) {
 
        /**
index a16039e..f485c41 100644 (file)
@@ -184,7 +184,7 @@ class RichTextElement extends AbstractFormElement
         return 'function(CKEDITOR) {
                 ' . $externalPlugins . '
                 CKEDITOR.replace("' . $fieldId . '", ' . json_encode($configuration) . ');
-                require([\'TYPO3/CMS/Backend/FormEngine\',\'TYPO3/CMS/Backend/FormEngineValidation\'], function(FormEngine) {
+                require([\'TYPO3/CMS/Backend/FormEngine\'], function(FormEngine) {
                     CKEDITOR.instances.' . $fieldId . '.on(\'change\', function() {
                         CKEDITOR.instances.' . $fieldId . '.updateElement();
                         FormEngine.Validation.validate();
index 205c511..b079d8b 100644 (file)
@@ -30,9 +30,7 @@ define(['TYPO3/CMS/Rtehtmlarea/HTMLArea/UserAgent/UserAgent',
        'TYPO3/CMS/Rtehtmlarea/HTMLArea/Editor/TextAreaContainer',
        'TYPO3/CMS/Rtehtmlarea/HTMLArea/Editor/StatusBar',
        'TYPO3/CMS/Backend/FormEngine',
-       'TYPO3/CMS/Backend/Notification',
-       'TYPO3/CMS/Backend/FormEngineValidation'
-       ],
+       'TYPO3/CMS/Backend/Notification'],
        function (UserAgent, Util, Ajax, Dom, Event, Selection, BookMark, Node, Typo3, Framework, Toolbar, Iframe, TextAreaContainer, StatusBar, FormEngine, Notification) {
 
        /**