mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02: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
@ -19,6 +19,7 @@ class CheckNowCommandForm extends ObjectsCommandForm
|
||||
public function init()
|
||||
{
|
||||
$this->setAttrib('class', 'inline');
|
||||
$this->setSubmitLabel($this->translate('Check now'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user