diff options
author | Steve Clay <steve@mrclay.org> | 2012-08-05 18:26:21 -0700 |
---|---|---|
committer | Steve Clay <steve@mrclay.org> | 2012-08-05 18:26:21 -0700 |
commit | 80503063db52421daf11b9de286d63e50b0997cf (patch) | |
tree | df04fcbef52b7163a2bb15c0b69918823c4bb4f8 /views/default | |
parent | 0a0203a418a082a38c5c700ea11377153fa37555 (diff) | |
parent | 8d05eac78a351a312b52c009351b7b6a43faac77 (diff) | |
download | elgg-80503063db52421daf11b9de286d63e50b0997cf.tar.gz elgg-80503063db52421daf11b9de286d63e50b0997cf.tar.bz2 |
Merge pull request #356 from sembrestels/cols-n-rows
Fixes #4772. "cols" and "rows" attributes requiried in textareas.
Diffstat (limited to 'views/default')
-rw-r--r-- | views/default/input/longtext.php | 2 | ||||
-rw-r--r-- | views/default/input/plaintext.php | 2 |
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, ); |