Project

General

Profile

Actions

Bug #17810

closed

convertTextareasResizable causes JS errors in IE

Added by Jo Hasenau over 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2010-06-01
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.4
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

ext.resizable.js.patch (1.02 KB) ext.resizable.js.patch Administrator Admin, 2010-06-01 17:01
Actions #1

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.

Actions #2

Updated by Benni Mack over 14 years ago

Committed to trunk (rev. 7948)
Committed to TYPO3_4-3 (rev. 7949)

Actions #3

Updated by Susanne Moog over 13 years ago

  • Target version deleted (4.4.0)
Actions

Also available in: Atom PDF