mirror of
https://github.com/Icinga/icingaweb2-module-graphite.git
synced 2026-05-28 04:34:57 -04:00
Close custom time range picker on update
This commit is contained in:
parent
ceb114701b
commit
b224e6f709
1 changed files with 9 additions and 0 deletions
|
|
@ -93,6 +93,15 @@ class CustomForm extends Form
|
|||
$this->urlToForm('end');
|
||||
}
|
||||
|
||||
public function addSubmitButton()
|
||||
{
|
||||
$result = parent::addSubmitButton();
|
||||
|
||||
$this->getElement('btn_submit')->class = 'flyover-toggle';
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
public function onSuccess()
|
||||
{
|
||||
$start = $this->formToUrl('start', '00:00');
|
||||
|
|
|
|||
Loading…
Reference in a new issue