[BUGFIX] FormEngine: Restore select wizard for textarea elements 32/46032/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:44:06 +0000 (15:44 +0100)
commitb67fe7cb3f9d6994c3f6bea7e86afc108bdce1d3
treec776281978125f7d7e83d9f66da5cedd50116cd3
parenta038899ec19d5adab943b95f9ed3176fede0dbec
[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/46032
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
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