[TYPO3-core] RFC #14577

JoH asenau info at cybercraft.de
Tue Jun 1 17:16:01 CEST 2010


This is an SVN patch request.

Type: Bugfix

Branches: trunk, 4.3

Bugtracker reference:
http://bugs.typo3.org/view.php?id=14577

Problem: Ext.ux.elasticTextArea causes JS errors in all version of IE due to
a value "NaN" returned as the element height.

Reason: inside the function there is a check for growBy and
this.div.getHeight, which might of course be "Not a Number", when they are
not available at all - in all these cases the IE engine can't do the math
with this value thus "NaN" would be returned as a value instead of the the
desired number.

Solution: Check if there is a value at all - if not: don't use it

Patch against current trunk is attached. Should apply to 4.3 as well.

Cheers

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ext.resizable.js.patch
Type: application/octet-stream
Size: 856 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100601/26921375/attachment-0001.obj>


More information about the TYPO3-team-core mailing list