summaryrefslogtreecommitdiff
path: root/modules/forge/libraries/Form_Textarea.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2008-12-07 21:24:50 +0000
committerTim Almdal <tnalmdal@shaw.ca>2008-12-07 21:24:50 +0000
commite518dafb19a0bb7dc3b1a1e4eea3326dd59806d9 (patch)
tree546a732ad0aed90eab81a0bdec7037460cc74de6 /modules/forge/libraries/Form_Textarea.php
parent954fcf034238458f292c9f5ec72c6d4b101aac0d (diff)
1) Revert the changes to Form_Upload and Form_Textarea, so we don't have to change third party code.
2) Change drawForm to check for a non empty $input->class in order to determime if the element should be wrapped in <li>...</li>. If $input->class is empty then treat as a hidden field.
Diffstat (limited to 'modules/forge/libraries/Form_Textarea.php')
-rw-r--r--modules/forge/libraries/Form_Textarea.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/forge/libraries/Form_Textarea.php b/modules/forge/libraries/Form_Textarea.php
index 3f7b6f72..f6d28fd0 100644
--- a/modules/forge/libraries/Form_Textarea.php
+++ b/modules/forge/libraries/Form_Textarea.php
@@ -13,7 +13,6 @@ class Form_Textarea_Core extends Form_Input {
protected $data = array
(
- 'type' => 'textarea',
'class' => 'textarea',
'value' => '',
);