Bug #17810
closedconvertTextareasResizable causes JS errors in IE
0%
Description
The JS function convertTextareasResizable of tceforms.js causes JS errors in all version of IE. The reason seems to be a value "NaNpx" that is handed over to the height property of an element.
I have not yet been able to track down the ExtJS bug that causes this behaviour, but the errors are gone as soon as the part that responds to TYPO3.settings.textareaFlexible is commented out.
IMHO the reason must be a bug in ExtJS, since a value of "NaN" should never be extended with "px". There have been know bugs in the ExtJS function addUnits - but it seems they are fixed now so they can't be the reason anymore.
(issue imported from #M14577)
Files
Updated by Jo Hasenau over 14 years ago
It seems that Ext.ux.elasticTextArea returns NaN for the final textHeight due to missing values for growBy and textHeight.
Attached patch solves this issue. Should apply to older T3 versions as well, since the file hasn't been changed recently.
Updated by Benni Mack over 14 years ago
Committed to trunk (rev. 7948)
Committed to TYPO3_4-3 (rev. 7949)