Do not generate duplicate ids.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8567 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2012-01-08 17:40:27 +00:00
parent 0960f5e4c6
commit 839daae8d0
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@
<% for issue in issues %> <% for issue in issues %>
<tr id="issue-<%= h(issue.id) %>" class="hascontextmenu <%= cycle('odd', 'even') %> <%= issue.css_classes %>"> <tr id="issue-<%= h(issue.id) %>" class="hascontextmenu <%= cycle('odd', 'even') %> <%= issue.css_classes %>">
<td class="id"> <td class="id">
<%= check_box_tag("ids[]", issue.id, false, :style => 'display:none;') %> <%= check_box_tag("ids[]", issue.id, false, :style => 'display:none;', :id => nil) %>
<%= link_to(h(issue.id), :controller => 'issues', :action => 'show', :id => issue) %> <%= link_to(h(issue.id), :controller => 'issues', :action => 'show', :id => issue) %>
</td> </td>
<td class="project"><%= link_to_project(issue.project) %></td> <td class="project"><%= link_to_project(issue.project) %></td>