parent
764f125778
commit
b8eedc21bb
|
@ -622,7 +622,7 @@ class Form extends Zend_Form
|
|||
public function addSubForm(Zend_Form $form, $name = null, $order = null)
|
||||
{
|
||||
if ($form instanceof self) {
|
||||
$form->removeDecorator('Form');
|
||||
$form->setDecorators(array('FormElements')); // TODO: Makes it difficult to customise subform decorators..
|
||||
$form->setSubmitLabel('');
|
||||
$form->setTokenDisabled();
|
||||
$form->setUidDisabled();
|
||||
|
|
Loading…
Reference in New Issue