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
This commit is contained in:
Jean-Philippe Lang 2012-01-24 21:01:49 +00:00
parent 1fa341df1c
commit 6714d69767
1 changed files with 1 additions and 1 deletions

View File

@ -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();",