From ea56e4f108213d71bdfab39942410e9ad6086b55 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Fri, 14 Nov 2014 10:41:12 +0100 Subject: [PATCH] Fix addElements call in CheckNowCommandForm --- .../Command/Object/CheckNowCommandForm.php | 21 +++++++++++-------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/modules/monitoring/application/forms/Command/Object/CheckNowCommandForm.php b/modules/monitoring/application/forms/Command/Object/CheckNowCommandForm.php index ffc99ecdd..c8c3caac5 100644 --- a/modules/monitoring/application/forms/Command/Object/CheckNowCommandForm.php +++ b/modules/monitoring/application/forms/Command/Object/CheckNowCommandForm.php @@ -32,18 +32,21 @@ class CheckNowCommandForm extends ObjectsCommandForm $iconUrl = $this->getView()->href('img/icons/refresh_petrol.png'); $this->addElements(array( - 'button', - 'btn_submit', array( - 'ignore' => true, - 'type' => 'submit', - 'value' => mt('monitoring', 'Check now'), - 'label' => ' ' . mt('monitoring', 'Check now'), - 'decorators' => array('ViewHelper'), - 'escape' => false, - 'class' => 'link-like' + 'button', + 'btn_submit', + array( + 'ignore' => true, + 'type' => 'submit', + 'value' => mt('monitoring', 'Check now'), + 'label' => ' ' . mt('monitoring', 'Check now'), + 'decorators' => array('ViewHelper'), + 'escape' => false, + 'class' => 'link-like' + ) ) )); + return $this; }