diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-07-25 09:47:37 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-07-25 09:47:37 +0000 |
commit | fd0623bf69a2354bada6eb679970d440fc1e00a1 (patch) | |
tree | 94dd570cf6400d49fa419b3a8f2a7e57acbb4a09 | |
parent | 379c0a1dd43c1c25faba5a0a1dea40f63384a010 (diff) | |
download | redmine-fd0623bf69a2354bada6eb679970d440fc1e00a1.tar.gz redmine-fd0623bf69a2354bada6eb679970d440fc1e00a1.zip |
Fixes broken status change in context menu (#5892).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3871 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/views/issues/context_menu.rhtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/issues/context_menu.rhtml b/app/views/issues/context_menu.rhtml index 858f3b2e6..489896e09 100644 --- a/app/views/issues/context_menu.rhtml +++ b/app/views/issues/context_menu.rhtml @@ -8,7 +8,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}, :back_url => @back}, :method => :post, + <li><%= context_menu_link s.name, {:controller => 'issues', :action => 'update', :id => @issue, :issue => {:status_id => s}, :back_url => @back}, :method => :put, :selected => (s == @issue.status), :disabled => !(@can[:update] && @allowed_statuses.include?(s)) %></li> <% end -%> </ul> |