From bfaedf194df864a24ea4a44c359435be68983909 Mon Sep 17 00:00:00 2001 From: Nik Okuntseff Date: Sat, 8 Dec 2018 15:16:26 +0000 Subject: [PATCH] Refactoring. --- WEB-INF/templates/footer.tpl | 2 +- reports.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 8e93961a..7e5b94b1 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.18.29.4612 | Copyright © Anuko | +  Anuko Time Tracker 1.18.29.4613 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} diff --git a/reports.php b/reports.php index e617285c..f4306961 100644 --- a/reports.php +++ b/reports.php @@ -56,7 +56,7 @@ $form = new Form('reportForm'); $report_list = ttFavReportHelper::getReports(); $form->addInput(array('type'=>'combobox', 'name'=>'favorite_report', - 'onchange'=>'document.reportForm.fav_report_changed.value=1;document.reportForm.submit();', + 'onchange'=>'this.form.fav_report_changed.value=1;this.form.submit();', 'style'=>'width: 250px;', 'data'=>$report_list, 'datakeys'=>array('id','name'), -- 2.20.1