diff --git a/library/Reporting/Web/Forms/ReportForm.php b/library/Reporting/Web/Forms/ReportForm.php index f54f7031..6729efb7 100644 --- a/library/Reporting/Web/Forms/ReportForm.php +++ b/library/Reporting/Web/Forms/ReportForm.php @@ -36,7 +36,8 @@ protected function assemble() $this->addElement('select', 'timeframe', [ 'required' => true, 'label' => 'Timeframe', - 'options' => [null => 'Please choose'] + $this->listTimeframes() + 'options' => [null => 'Please choose'] + $this->listTimeframes(), + 'class' => 'autosubmit' ]); $this->addElement('select', 'reportlet', [