aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2012-08-05 02:27:15 +0200
committerSem <sembrestels@riseup.net>2012-08-05 02:27:15 +0200
commit8d05eac78a351a312b52c009351b7b6a43faac77 (patch)
treedac93edd2338fd6715ad1808f3af54b40b71587f /views
parent1e7b0a55af150794457b2ed77b30d4e4129325f3 (diff)
downloadelgg-8d05eac78a351a312b52c009351b7b6a43faac77.tar.gz
elgg-8d05eac78a351a312b52c009351b7b6a43faac77.tar.bz2
Fixes #4772. "cols" and "rows" attributes requiried in textareas.
Diffstat (limited to 'views')
-rw-r--r--views/default/input/longtext.php2
-rw-r--r--views/default/input/plaintext.php2
2 files changed, 4 insertions, 0 deletions
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,
);