[icinga-checkins] icinga.org: icingaweb2-module-director/master: IcingaServiceForm: allow to delete Services...

git at icinga.org git at icinga.org
Tue Oct 11 16:34:46 CEST 2016


Module: icingaweb2-module-director
Branch: master
Commit: 960fb4a3d04e085340abc9dc14c3fdef011ca270
URL:    https://git.icinga.org/?p=icingaweb2-module-director.git;a=commit;h=960fb4a3d04e085340abc9dc14c3fdef011ca270

Author: Thomas Gelf <thomas at gelf.net>
Date:   Tue Oct 11 14:33:44 2016 +0000

IcingaServiceForm: allow to delete Services...

...created in an automated way while still allowing one to override
vars.

---

 application/forms/IcingaServiceForm.php |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/application/forms/IcingaServiceForm.php b/application/forms/IcingaServiceForm.php
index 4b98e2a..8ae9a81 100644
--- a/application/forms/IcingaServiceForm.php
+++ b/application/forms/IcingaServiceForm.php
@@ -93,8 +93,7 @@ class IcingaServiceForm extends DirectorObjectForm
         );
 
         $this->addHtmlHint($msg);
-
-        $this->setSubmitLabel(
+        $this->setButtons()->setSubmitLabel(
             $this->translate('Override vars')
         );
     }



More information about the icinga-checkins mailing list