summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-01-24 21:01:49 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-01-24 21:01:49 +0000
commit6714d69767ddc743736f78e09080fd11c0ff9b6b (patch)
treeb60e32ce6ee8f5b01bade8ae6eee13a60f6d6403 /app
parent1fa341df1cfb4198ce3cd34190fa7de774c0d387 (diff)
downloadredmine-6714d69767ddc743736f78e09080fd11c0ff9b6b.tar.gz
redmine-6714d69767ddc743736f78e09080fd11c0ff9b6b.zip
Fixed javascript error when changing time period on time report.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8701 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/views/timelog/report.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/timelog/report.html.erb b/app/views/timelog/report.html.erb
index 029691b16..960d41b72 100644
--- a/app/views/timelog/report.html.erb
+++ b/app/views/timelog/report.html.erb
@@ -16,7 +16,7 @@
[l(:label_month), 'month'],
[l(:label_week), 'week'],
[l(:label_day_plural).titleize, 'day']], @report.columns),
- :onchange => "this.form.onsubmit();" %>
+ :onchange => "this.form.submit();" %>
<label for='criterias'><%= l(:button_add) %></label>: <%= select_tag('criteria[]', options_for_select([[]] + (@report.available_criteria.keys - @report.criteria).collect{|k| [l_or_humanize(@report.available_criteria[k][:label]), k]}),
:onchange => "this.form.submit();",