[BUGFIX] Deactivated textarea elements are not visualized
authorOliver Hader <oliver@typo3.org>
Tue, 20 Nov 2012 20:08:42 +0000 (21:08 +0100)
committerOliver Hader <oliver.hader@typo3.org>
Tue, 20 Nov 2012 23:38:34 +0000 (00:38 +0100)
commitc832ced1436351a7676ff19d2ffa153fd36d52fd
tree39e1064daf215f63f473ecf68bdac6c5cc5f5210
parent64194b1df583d082aaf70a884d10499751f8c16b
[BUGFIX] Deactivated textarea elements are not visualized

Deactivated textarea elements, fields that have a NULL value
stored in the database, are not visualized correctly when
loading the backend editing form. The status is currently set
using JavaScript and triggered by TBE_EDITOR.fieldSet().
However, textareas don't have a human readable clone and thus
fieldSet() is not called and thus no status is set.

This issue is fixed by directly rendering the status in the
FormEngine.

Change-Id: I2dded816853f452b25f6edf6e7d7f6dca1387739
Fixes: #43175
Releases: 6.0
Reviewed-on: http://review.typo3.org/16636
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
typo3/jsfunc.tbe_editor.js
typo3/sysext/backend/Classes/Form/FormEngine.php
typo3/templates/tceforms.html