summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2017-11-25 12:59:46 +0000
committerGo MAEDA <maeda@farend.jp>2017-11-25 12:59:46 +0000
commit7ad082e1712970583a2eeff8f715ad198baead0d (patch)
tree4495202960e720e6b4afb4d7f9d324b4792514a1
parent9392fb59b66491f92920b905826495a01d7d3f38 (diff)
downloadredmine-7ad082e1712970583a2eeff8f715ad198baead0d.tar.gz
redmine-7ad082e1712970583a2eeff8f715ad198baead0d.zip
Merged r17023 to 3.3-stable (#27586).
git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@17025 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/views/workflows/_form.html.erb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/workflows/_form.html.erb b/app/views/workflows/_form.html.erb
index 9fb2705e7..e7c244735 100644
--- a/app/views/workflows/_form.html.erb
+++ b/app/views/workflows/_form.html.erb
@@ -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 class="<%= cycle("odd", "even") %>">
<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') %>