mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-06-08 04:29:23 -04:00
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.
This commit is contained in:
@@ -13,7 +13,6 @@ class Form_Textarea_Core extends Form_Input {
|
||||
|
||||
protected $data = array
|
||||
(
|
||||
'type' => 'textarea',
|
||||
'class' => 'textarea',
|
||||
'value' => '',
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user