Project

General

Profile

Defect #5892 ยป fix_contextmenu_status_change_behaviour-r3847.patch

SVN-patch against Redmine trunk @ r3847. - Mischa The Evil, 2010-07-18 02:45

View differences:

app/views/issues/context_menu.rhtml (working copy)
8 8
		<a href="#" class="submenu" onclick="return false;"><%= l(:field_status) %></a>
9 9
		<ul>
10 10
		<% @statuses.each do |s| -%>
11
		    <li><%= context_menu_link s.name, {:controller => 'issues', :action => 'edit', :id => @issue, :issue => {:status_id => s}, :back_url => @back}, :method => :post,
11
		    <li><%= context_menu_link s.name, {:controller => 'issues', :action => 'bulk_edit', :ids => @issues.collect(&:id), :issue => {'status_id' => s}, :back_url => @back}, :method => :post,
12 12
		                              :selected => (s == @issue.status), :disabled => !(@can[:update] && @allowed_statuses.include?(s)) %></li>
13 13
		<% end -%>
14 14
		</ul>
    (1-1/1)