[BUGFIX] FormEngine: Restore select wizard for textarea elements 36/46036/2
authorMorton Jonuschat <m.jonuschat@mojocode.de>
Sun, 17 Jan 2016 09:19:23 +0000 (10:19 +0100)
committerAndreas Fernandez <typo3@scripting-base.de>
Sun, 17 Jan 2016 14:45:17 +0000 (15:45 +0100)
commite1a894a64dce3350063f255e893467bcc0f1e1d0
tree16a3cbb0787be5f6bf45774901517f0660b58899
parent436c0dc3c664a128cf52958a36da6230cbb22e0d
[BUGFIX] FormEngine: Restore select wizard for textarea elements

Add the data-formengine-input-name attribute to FormEngine TextElements
so that the wizards can locate it. As the textareas don't differentiate
between human readable and hidden fields add a check to the tbe change
handler if the form field and the human readable field are identical and
skip triggering the change event again.

Resolves: #71679
Releases: master, 7.6
Change-Id: I69e6a4f3e9f19c68bd02a0029322d52323286194
Reviewed-on: https://review.typo3.org/46036
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
typo3/sysext/backend/Classes/Form/Element/TextElement.php
typo3/sysext/backend/Resources/Public/JavaScript/jsfunc.tbe_editor.js