[CLEANUP] Remove obsolete jQuery import 23/49423/2
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Mon, 8 Aug 2016 16:13:49 +0000 (18:13 +0200)
committerAndreas Fernandez <typo3@scripting-base.de>
Mon, 8 Aug 2016 16:28:57 +0000 (18:28 +0200)
Resolves: #77442
Releases: master
Change-Id: I32271ba8c4a2d1c49d99900a7cd3d57f465c96da
Reviewed-on: https://review.typo3.org/49423
Tested-by: Bamboo TYPO3com <info@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
typo3/sysext/rtehtmlarea/Classes/Form/Element/RichTextElement.php

index 5bf2462..abae565 100644 (file)
@@ -608,7 +608,7 @@ class RichTextElement extends AbstractFormElement
         // Editing area style sheet
         $editedContentCSS = GeneralUtility::createVersionNumberedFilename($skinDirectory . '/htmlarea-edited-content.css');
 
-        return 'require(["TYPO3/CMS/Rtehtmlarea/HTMLArea/HTMLArea", "jquery"], function (HTMLArea, $) {
+        return 'require(["TYPO3/CMS/Rtehtmlarea/HTMLArea/HTMLArea"], function (HTMLArea) {
                        if (typeof RTEarea === "undefined") {
                                RTEarea = new Object();
                                RTEarea[0] = new Object();
@@ -617,7 +617,7 @@ class RichTextElement extends AbstractFormElement
                                RTEarea[0].editorSkin = "' . $skinDirectory . '/";
                                RTEarea[0].editedContentCSS = "' . $editedContentCSS . '";
                                RTEarea.init = function() {
-                                   HTMLArea.init();
+                                       HTMLArea.init();
                                };
                                RTEarea.initEditor = function(editorNumber) {
                                        if (typeof HTMLArea === "undefined" || !HTMLArea.isReady) {