From 72241305f9b555dbf4b64e43a426b6ade3e5494c Mon Sep 17 00:00:00 2001 From: Ernesto Baschny Date: Wed, 22 Sep 2010 08:48:50 +0000 Subject: [PATCH] =?utf8?q?*=20Fixed=20bug=20#15732:=20Backend=20textarea?= =?utf8?q?=20fields=20should=20also=20be=20flexible=20in=20height,=20even?= =?utf8?q?=20if=20text=20is=20just=20a=20continuous=20text=20(Thanks=20to?= =?utf8?q?=20Sebastian=20M=C3=BCller)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@8854 709f56b5-9817-0410-a4d7-c38de5d9e867 --- ChangeLog | 4 ++++ t3lib/js/extjs/ux/ext.resizable.js | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4bf8e844d868..2172305bd92f 100755 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2010-09-22 Ernesto Baschny + + * Fixed bug #15732: Backend textarea fields should also be flexible in height, even if text is just a continuous text (Thanks to Sebastian Müller) + 2010-09-22 Steffen Kamper * Fixed bug #15738: TCA field for versioning type (vtype) should only be available if elementVersioningOnly is not set (Thanks to Benjamin Mack) diff --git a/t3lib/js/extjs/ux/ext.resizable.js b/t3lib/js/extjs/ux/ext.resizable.js index ba8d86aaf985..7b76ad597cdf 100644 --- a/t3lib/js/extjs/ux/ext.resizable.js +++ b/t3lib/js/extjs/ux/ext.resizable.js @@ -993,7 +993,7 @@ Ext.ux.elasticTextArea = function(){ this.applyTo(elementId, options); }, this); } - + this.div.setWidth(parseInt(el.getStyle('width'))); //replace \n with
  so that the enter key can trigger and height increase //but first remove all previous entries, so that the height mesurement can be as accurate as possible this.div.update( -- 2.20.1