[BUGFIX] Initialize T3editor properly 88/47188/2
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Mon, 15 Feb 2016 17:35:21 +0000 (18:35 +0100)
committerFrank Naegler <frank.naegler@typo3.org>
Fri, 11 Mar 2016 09:01:00 +0000 (10:01 +0100)
commit94e822fc46c4bab313a492071bfce58bfcca4903
tree60da408442d5b03cad173170dfd68e23128ac357
parente264147cc19f07ad27c6cf5f62473feae72956ab
[BUGFIX] Initialize T3editor properly

If a T3editor is instantiated on-the-fly, it is not initialized properly.
Add a callback to the ``Form/Element/T3editorElement`` class and mark
editor instances as initialized to prevent double initialization.

Change-Id: I8c6b692eb2c132180ed0d122b35515276df5acd9
Resolves: #73425
Releases: master, 7.6
Reviewed-on: https://review.typo3.org/47188
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
typo3/sysext/t3editor/Classes/Form/Element/T3editorElement.php
typo3/sysext/t3editor/Resources/Public/JavaScript/T3editor.js