1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-10 01:21:32 +00:00

Fix: Cannot change the priority of the parent issue in issues context menu (#27533).

Patch by Vito Marolda.


git-svn-id: http://svn.redmine.org/redmine/trunk@17129 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2017-12-26 07:01:56 +00:00
parent f46b95107d
commit d389486e80

View 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>