]> source.dussan.org Git - redmine.git/commitdiff
Merged r17129 to 3.3-stable (#27533).
authorGo MAEDA <maeda@farend.jp>
Tue, 26 Dec 2017 07:11:19 +0000 (07:11 +0000)
committerGo MAEDA <maeda@farend.jp>
Tue, 26 Dec 2017 07:11:19 +0000 (07:11 +0000)
git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@17131 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/context_menus/issues.html.erb

index 94bb3eab46fabd3928651b81b54240a36d8ead3a..c24a7aeca7aa0b23c8fe3f222a79dd746e539022 100644 (file)
@@ -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>