summaryrefslogtreecommitdiffstats
path: root/app/views/workflows
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2017-11-25 11:16:13 +0000
committerGo MAEDA <maeda@farend.jp>2017-11-25 11:16:13 +0000
commit980ea2160dcf9efcedc0cfae8edd0efb36f2d0f3 (patch)
tree4adc0b839b94a887b2ff92ef3df46fb348a92e43 /app/views/workflows
parentcf62aeab603dc8b880e3b3e4b0681ae55c9d391c (diff)
downloadredmine-980ea2160dcf9efcedc0cfae8edd0efb36f2d0f3.tar.gz
redmine-980ea2160dcf9efcedc0cfae8edd0efb36f2d0f3.zip
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
Diffstat (limited to 'app/views/workflows')
-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 ea706c50b..958c1e43c 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>
<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 %>