mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-25 23:04:51 +02:00
parent
764f125778
commit
b8eedc21bb
@ -622,7 +622,7 @@ class Form extends Zend_Form
|
|||||||
public function addSubForm(Zend_Form $form, $name = null, $order = null)
|
public function addSubForm(Zend_Form $form, $name = null, $order = null)
|
||||||
{
|
{
|
||||||
if ($form instanceof self) {
|
if ($form instanceof self) {
|
||||||
$form->removeDecorator('Form');
|
$form->setDecorators(array('FormElements')); // TODO: Makes it difficult to customise subform decorators..
|
||||||
$form->setSubmitLabel('');
|
$form->setSubmitLabel('');
|
||||||
$form->setTokenDisabled();
|
$form->setTokenDisabled();
|
||||||
$form->setUidDisabled();
|
$form->setUidDisabled();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user