]> source.dussan.org Git - redmine.git/commitdiff
Remove edit step from Status context menu (#1197).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 25 May 2008 15:09:42 +0000 (15:09 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 25 May 2008 15:09:42 +0000 (15:09 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1458 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/issues/context_menu.rhtml

index f42f254e8c6e9b7cb631141d6840b3d600e1c89c..04c21ceae0e9caac94bc3994772760b95d324f6b 100644 (file)
@@ -6,7 +6,7 @@
                <a href="#" class="submenu" onclick="return false;"><%= l(:field_status) %></a>
                <ul>
                <% @statuses.each do |s| -%>
-                   <li><%= context_menu_link s.name, {:controller => 'issues', :action => 'edit', :id => @issue, :issue => {:status_id => s}},
+                   <li><%= context_menu_link s.name, {:controller => 'issues', :action => 'edit', :id => @issue, :issue => {:status_id => s}, :back_to => @back}, :method => :post,
                                              :selected => (s == @issue.status), :disabled => !(@can[:update] && @allowed_statuses.include?(s)) %></li>
                <% end -%>
                </ul>