summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2017-12-26 07:09:42 +0000
committerGo MAEDA <maeda@farend.jp>2017-12-26 07:09:42 +0000
commitac1f435af1419dac1479fc0bcdccdf7a6089eefd (patch)
tree3daa09d33c78c36381671fba152bf1ee90dc349e
parentc974227d1bf7286216bcf96dbc0b0fd161ed483b (diff)
downloadredmine-ac1f435af1419dac1479fc0bcdccdf7a6089eefd.tar.gz
redmine-ac1f435af1419dac1479fc0bcdccdf7a6089eefd.zip
Merged r17129 to 3.4-stable (#27533).
git-svn-id: http://svn.redmine.org/redmine/branches/3.4-stable@17130 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/views/context_menus/issues.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/context_menus/issues.html.erb b/app/views/context_menus/issues.html.erb
index 94bb3eab4..c24a7aeca 100644
--- a/app/views/context_menus/issues.html.erb
+++ b/app/views/context_menus/issues.html.erb
@@ -39,7 +39,7 @@
<ul>
<% @priorities.each do |p| -%>
<li><%= context_menu_link p.name, bulk_update_issues_path(:ids => @issue_ids, :issue => {'priority_id' => p}, :back_url => @back), :method => :post,
- :selected => (@issue && p == @issue.priority), :disabled => (!@can[:edit] || @issues.detect {|i| !i.leaf?}) %></li>
+ :selected => (@issue && p == @issue.priority), :disabled => (!@can[:edit]) %></li>
<% end -%>
</ul>
</li>