IcingaHost/ServiceForm: use new button helper
This commit is contained in:
parent
0a5addabd1
commit
e88b7af8e9
|
@ -61,6 +61,7 @@ class IcingaHostForm extends DirectorObjectForm
|
||||||
} else {
|
} else {
|
||||||
$this->getElement('imports')->setRequired();
|
$this->getElement('imports')->setRequired();
|
||||||
}
|
}
|
||||||
|
$this->setButtons();
|
||||||
|
|
||||||
// $this->addZoneElement();
|
// $this->addZoneElement();
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,5 +26,7 @@ class IcingaServiceForm extends DirectorObjectForm
|
||||||
if ($this->isTemplate()) {
|
if ($this->isTemplate()) {
|
||||||
$this->addCheckExecutionElements();
|
$this->addCheckExecutionElements();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$this->setButtons();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue