diff --git a/app/views/issues/context_menu.rhtml b/app/views/issues/context_menu.rhtml
index e8d67ce4..858f3b2e 100644
--- a/app/views/issues/context_menu.rhtml
+++ b/app/views/issues/context_menu.rhtml
@@ -34,7 +34,7 @@
<% @priorities.each do |p| -%>
- <%= context_menu_link p.name, {:controller => 'issues', :action => 'bulk_edit', :ids => @issues.collect(&:id), :issue => {'priority_id' => p}, :back_url => @back}, :method => :post,
- :selected => (@issue && p == @issue.priority), :disabled => !@can[:edit] %>
+ :selected => (@issue && p == @issue.priority), :disabled => (!@can[:edit] || !@issue.leaf?) %>
<% end -%>
@@ -83,7 +83,7 @@
<% (0..10).map{|x|x*10}.each do |p| -%>
- <%= context_menu_link "#{p}%", {:controller => 'issues', :action => 'bulk_edit', :ids => @issues.collect(&:id), :issue => {'done_ratio' => p}, :back_url => @back}, :method => :post,
- :selected => (@issue && p == @issue.done_ratio), :disabled => !@can[:edit] %>
+ :selected => (@issue && p == @issue.done_ratio), :disabled => (!@can[:edit] || !@issue.leaf?) %>
<% end -%>