fix_27586.patch

Mizuki ISHIKAWA, 2017-11-20 08:55

Download (1.76 KB)

View differences:

app/views/workflows/_form.html.erb
2 2
<thead>
3 3
  <tr>
4 4
    <th>
5
      <%= link_to_function('', "toggleCheckboxesBySelector('table.transitions-#{name} input')",
5
      <%= link_to_function('', "toggleCheckboxesBySelector('table.transitions-#{name} input[type=checkbox]')",
6 6
                           :title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}",
7 7
                           :class => 'icon-only icon-checked') %>
8 8
      <%=l(:label_current_status)%>
......
13 13
    <td></td>
14 14
    <% for new_status in @statuses %>
15 15
    <td style="width:<%= 75 / @statuses.size %>%;">
16
      <%= link_to_function('', "toggleCheckboxesBySelector('table.transitions-#{name} input.new-status-#{new_status.id}')",
16
      <%= link_to_function('', "toggleCheckboxesBySelector('table.transitions-#{name} input[type=checkbox].new-status-#{new_status.id}')",
17 17
                           :title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}",
18 18
                           :class => 'icon-only icon-checked') %>
19 19
      <%= new_status.name %>
......
26 26
  <% next if old_status.nil? && name != 'always' %>
27 27
  <tr>
28 28
    <td class="name">
29
      <%= link_to_function('', "toggleCheckboxesBySelector('table.transitions-#{name} input.old-status-#{old_status.try(:id) || 0}')",
29
      <%= link_to_function('', "toggleCheckboxesBySelector('table.transitions-#{name} input[type=checkbox].old-status-#{old_status.try(:id) || 0}')",
30 30
                           :title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}",
31 31
                           :class => 'icon-only icon-checked') %>
32 32
      <% if old_status %>