IcingaHost/ServiceForm: use new button helper

This commit is contained in:
Thomas Gelf 2015-10-15 23:53:59 +02:00
parent 0a5addabd1
commit e88b7af8e9
2 changed files with 3 additions and 0 deletions

View File

@ -61,6 +61,7 @@ class IcingaHostForm extends DirectorObjectForm
} else { } else {
$this->getElement('imports')->setRequired(); $this->getElement('imports')->setRequired();
} }
$this->setButtons();
// $this->addZoneElement(); // $this->addZoneElement();
} }

View File

@ -26,5 +26,7 @@ class IcingaServiceForm extends DirectorObjectForm
if ($this->isTemplate()) { if ($this->isTemplate()) {
$this->addCheckExecutionElements(); $this->addCheckExecutionElements();
} }
$this->setButtons();
} }
} }