[BUGFIX] Initialize T3editor properly 80/46680/4
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 08:54:03 +0000 (09:54 +0100)
commite9f2bfae9fa210622791f0600bf420ec01b29cac
treef2b4423616b4acbe69d6e4993535970d4abc795e
parent5dda0e382a36458b65daed62893d68b1cccc2970
[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/46680
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Daniel Goerz <ervaude@gmail.com>
Tested-by: Daniel Goerz <ervaude@gmail.com>
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