From b008e63adf6226455e241f979e8f18626ed68a78 Mon Sep 17 00:00:00 2001
From: Stanislas Rolland <typo3@sjbr.ca>
Date: Wed, 12 Nov 2014 15:16:30 -0500
Subject: [PATCH] [BUGFIX] RTE: Change to tab menu div id breaks RTE load in
 IRRE element

Problem: -DIV suffix to id's of tab div's was removed. This breaks RTE load in
IRRE and other nested elements.
Solution: Adapt RTE script.

Releases: master
Resolves: #62897
Change-Id: I45727c698a57456c93d2700f26151029d4628baa
Reviewed-on: http://review.typo3.org/34033
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
---
 .../Public/JavaScript/HTMLArea/Util/HTMLArea.util.TYPO3.js      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Util/HTMLArea.util.TYPO3.js b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Util/HTMLArea.util.TYPO3.js
index 02575d8e5c6e..8857fbacb343 100644
--- a/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Util/HTMLArea.util.TYPO3.js
+++ b/typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Util/HTMLArea.util.TYPO3.js
@@ -13,7 +13,7 @@ HTMLArea.util.TYPO3 = function () {
 		simplifyNested: function(nested) {
 			var i, type, level, elementId, max, simplifiedNested=[],
 				elementIdSuffix = {
-					tab: '-DIV',
+					tab: '',
 					inline: '_fields',
 					flex: '-content'
 				};
-- 
GitLab