mirror of
https://github.com/Icinga/icingaweb2.git
synced 2026-05-28 04:02:39 -04:00
CheckNowCommandForm#init(): set submit label
... otherwise Form#handleRequest() bypasses Form#isSubmitted() on API requests and considers the CheckNowCommandForm submitted. refs #4281
This commit is contained in:
parent
6956ec4450
commit
7aacbd4db8
1 changed files with 1 additions and 0 deletions
|
|
@ -19,6 +19,7 @@ class CheckNowCommandForm extends ObjectsCommandForm
|
|||
public function init()
|
||||
{
|
||||
$this->setAttrib('class', 'inline');
|
||||
$this->setSubmitLabel($this->translate('Check now'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue