From: Toshi MARUYAMA Date: Sun, 4 Jan 2015 04:20:40 +0000 (+0000) Subject: remove duplicated :id key from app/views/timelog/report.html.erb X-Git-Tag: 3.0.0~174 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=11f2ccd42fd60a795bb3dc3c69484b781925e75a;p=redmine.git remove duplicated :id key from app/views/timelog/report.html.erb Ruby 2.2 shows warning. git-svn-id: http://svn.redmine.org/redmine/trunk@13835 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/timelog/report.html.erb b/app/views/timelog/report.html.erb index cb556a656..176f128e0 100644 --- a/app/views/timelog/report.html.erb +++ b/app/views/timelog/report.html.erb @@ -23,8 +23,8 @@ : <%= 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();", :style => 'width: 200px', - :id => nil, - :disabled => (@report.criteria.length >= 3), :id => "criterias") %> + :disabled => (@report.criteria.length >= 3), + :id => "criterias") %> <%= link_to l(:button_clear), {:project_id => @project, :issue_id => @issue, :period_type => params[:period_type], :period => params[:period], :from => @from, :to => @to, :columns => @report.columns}, :class => 'icon icon-reload' %>

<% end %>