From 8d05eac78a351a312b52c009351b7b6a43faac77 Mon Sep 17 00:00:00 2001 From: Sem Date: Sun, 5 Aug 2012 02:27:15 +0200 Subject: Fixes #4772. "cols" and "rows" attributes requiried in textareas. --- views/default/input/longtext.php | 2 ++ views/default/input/plaintext.php | 2 ++ 2 files changed, 4 insertions(+) (limited to 'views') diff --git a/views/default/input/longtext.php b/views/default/input/longtext.php index 2b1462635..61dc7ca19 100644 --- a/views/default/input/longtext.php +++ b/views/default/input/longtext.php @@ -19,6 +19,8 @@ if (isset($vars['class'])) { $defaults = array( 'value' => '', + 'rows' => '10', + 'cols' => '50', 'id' => 'elgg-input-' . rand(), //@todo make this more robust ); diff --git a/views/default/input/plaintext.php b/views/default/input/plaintext.php index cd0aaafcf..e92c61ced 100644 --- a/views/default/input/plaintext.php +++ b/views/default/input/plaintext.php @@ -20,6 +20,8 @@ if (isset($vars['class'])) { $defaults = array( 'value' => '', + 'rows' => '10', + 'cols' => '50', 'disabled' => false, ); -- cgit v1.2.3