diff options
author | Jean-Baptiste Barth <jeanbaptiste.barth@gmail.com> | 2010-10-07 05:11:28 +0000 |
---|---|---|
committer | Jean-Baptiste Barth <jeanbaptiste.barth@gmail.com> | 2010-10-07 05:11:28 +0000 |
commit | b255b7760ac6a3389c3cd6c77b259679eb0401a7 (patch) | |
tree | ffc3c377f1e1cae82105d608de972aefb1d35ea4 /app/views/context_menus | |
parent | 2ecca7e4df96cba3fe5ab75997ca179cd62968f8 (diff) | |
download | redmine-b255b7760ac6a3389c3cd6c77b259679eb0401a7.tar.gz redmine-b255b7760ac6a3389c3cd6c77b259679eb0401a7.zip |
Added ability to delete issues from different projects through contextual menu (#5332)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4236 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/context_menus')
-rw-r--r-- | app/views/context_menus/issues.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/context_menus/issues.html.erb b/app/views/context_menus/issues.html.erb index 94d4e802f..3f45f4ea2 100644 --- a/app/views/context_menus/issues.html.erb +++ b/app/views/context_menus/issues.html.erb @@ -115,7 +115,7 @@ :class => 'icon-copy', :disabled => !@can[:move] %></li> <li><%= context_menu_link l(:button_move), new_issue_move_path(:ids => @issues.collect(&:id)), :class => 'icon-move', :disabled => !@can[:move] %></li> - <li><%= context_menu_link l(:button_delete), {:controller => 'issues', :action => 'destroy', :ids => @issues.collect(&:id)}, + <li><%= context_menu_link l(:button_delete), {:controller => 'issues', :action => 'destroy', :ids => @issues.collect(&:id), :back_url => @back}, :method => :post, :confirm => l(:text_issues_destroy_confirmation), :class => 'icon-del', :disabled => !@can[:delete] %></li> <%= call_hook(:view_issues_context_menu_end, {:issues => @issues, :can => @can, :back => @back }) %> |