summaryrefslogtreecommitdiffstats
path: root/app/views/context_menus/issues.html.erb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2017-12-26 07:01:56 +0000
committerGo MAEDA <maeda@farend.jp>2017-12-26 07:01:56 +0000
commitd389486e80e7196be4632efc8d6c649476c53c50 (patch)
tree0aba3525f76224d57fbfa6f2e3cbaf5b014964ac /app/views/context_menus/issues.html.erb
parentf46b95107dabe2a3c1918e7d327022add640acd1 (diff)
downloadredmine-d389486e80e7196be4632efc8d6c649476c53c50.tar.gz
redmine-d389486e80e7196be4632efc8d6c649476c53c50.zip
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
Diffstat (limited to 'app/views/context_menus/issues.html.erb')
-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>