1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-31 11:37:14 +00:00

Fix: "Uncheck all" is not working in workflow status transitions page (#27586).

Contributed by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17023 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2017-11-25 11:16:13 +00:00
parent cf62aeab60
commit 980ea2160d

View File

@ -2,7 +2,7 @@
<thead> <thead>
<tr> <tr>
<th> <th>
<%= link_to_function('', "toggleCheckboxesBySelector('table.transitions-#{name} input')", <%= link_to_function('', "toggleCheckboxesBySelector('table.transitions-#{name} input[type=checkbox]')",
:title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}", :title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}",
:class => 'icon-only icon-checked') %> :class => 'icon-only icon-checked') %>
<%=l(:label_current_status)%> <%=l(:label_current_status)%>
@ -13,7 +13,7 @@
<td></td> <td></td>
<% for new_status in @statuses %> <% for new_status in @statuses %>
<td style="width:<%= 75 / @statuses.size %>%;"> <td style="width:<%= 75 / @statuses.size %>%;">
<%= link_to_function('', "toggleCheckboxesBySelector('table.transitions-#{name} input.new-status-#{new_status.id}')", <%= link_to_function('', "toggleCheckboxesBySelector('table.transitions-#{name} input[type=checkbox].new-status-#{new_status.id}')",
:title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}", :title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}",
:class => 'icon-only icon-checked') %> :class => 'icon-only icon-checked') %>
<%= new_status.name %> <%= new_status.name %>
@ -26,7 +26,7 @@
<% next if old_status.nil? && name != 'always' %> <% next if old_status.nil? && name != 'always' %>
<tr> <tr>
<td class="name"> <td class="name">
<%= link_to_function('', "toggleCheckboxesBySelector('table.transitions-#{name} input.old-status-#{old_status.try(:id) || 0}')", <%= link_to_function('', "toggleCheckboxesBySelector('table.transitions-#{name} input[type=checkbox].old-status-#{old_status.try(:id) || 0}')",
:title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}", :title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}",
:class => 'icon-only icon-checked') %> :class => 'icon-only icon-checked') %>
<% if old_status %> <% if old_status %>