Close custom time range picker on update

This commit is contained in:
Alexander A. Klimov 2017-11-27 15:57:32 +01:00
parent ceb114701b
commit b224e6f709

View file

@ -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');