From e88b7af8e98e32483cc79fc2334986c994e8feff Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Thu, 15 Oct 2015 23:53:59 +0200 Subject: [PATCH] IcingaHost/ServiceForm: use new button helper --- application/forms/IcingaHostForm.php | 1 + application/forms/IcingaServiceForm.php | 2 ++ 2 files changed, 3 insertions(+) diff --git a/application/forms/IcingaHostForm.php b/application/forms/IcingaHostForm.php index 8cf7a2d2..f9598a00 100644 --- a/application/forms/IcingaHostForm.php +++ b/application/forms/IcingaHostForm.php @@ -61,6 +61,7 @@ class IcingaHostForm extends DirectorObjectForm } else { $this->getElement('imports')->setRequired(); } + $this->setButtons(); // $this->addZoneElement(); } diff --git a/application/forms/IcingaServiceForm.php b/application/forms/IcingaServiceForm.php index 5f94f814..c620168a 100644 --- a/application/forms/IcingaServiceForm.php +++ b/application/forms/IcingaServiceForm.php @@ -26,5 +26,7 @@ class IcingaServiceForm extends DirectorObjectForm if ($this->isTemplate()) { $this->addCheckExecutionElements(); } + + $this->setButtons(); } }