]> source.dussan.org Git - redmine.git/commitdiff
Merged r17023 to 3.4-stable (#27586).
authorGo MAEDA <maeda@farend.jp>
Sat, 25 Nov 2017 12:54:44 +0000 (12:54 +0000)
committerGo MAEDA <maeda@farend.jp>
Sat, 25 Nov 2017 12:54:44 +0000 (12:54 +0000)
git-svn-id: http://svn.redmine.org/redmine/branches/3.4-stable@17024 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/workflows/_form.html.erb

index ea706c50b830b51cfc7368ce3a2954c30e1b5ca2..958c1e43c42456618a86c5b89f8acc03ea52bcb7 100644 (file)
@@ -2,7 +2,7 @@
 <thead>
   <tr>
     <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)}",
                            :class => 'icon-only icon-checked') %>
       <%=l(:label_current_status)%>
@@ -13,7 +13,7 @@
     <td></td>
     <% for new_status in @statuses %>
     <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)}",
                            :class => 'icon-only icon-checked') %>
       <%= new_status.name %>
@@ -26,7 +26,7 @@
   <% next if old_status.nil? && name != 'always' %>
   <tr>
     <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)}",
                            :class => 'icon-only icon-checked') %>
       <% if old_status %>