Project

General

Profile

Feature #799 » status_change_patch.txt

Ryan Fowler, 2008-04-14 23:56

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