From cb335c660526127fb4878c6c4f35a1991a7d6101 Mon Sep 17 00:00:00 2001 From: Tobias Gonsior Date: Fri, 27 Apr 2018 13:52:10 +0200 Subject: [PATCH] fix buggy link in "issue"-details-view for DMS-files There is a issue sending DMS-files via the issues-detail-view, since the params structure was changed in 1.6.1 in the 'entries_operation'-action. --- app/views/dmsf_files/_link.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/dmsf_files/_link.html.erb b/app/views/dmsf_files/_link.html.erb index fe1d861b..b216c454 100644 --- a/app/views/dmsf_files/_link.html.erb +++ b/app/views/dmsf_files/_link.html.erb @@ -52,7 +52,7 @@ <% end %> <% # Email %> <%= link_to('', entries_operations_dmsf_path(:id => dmsf_file.project_id, :email_entries => 'email', - :files => [dmsf_file.id]), :method => :post, :title => l(:heading_send_documents_by_email), + :ids => ["file-#{dmsf_file.id}"]), :method => :post, :title => l(:heading_send_documents_by_email), :class => 'icon-only icon-email-disabled') %> <% # Lock %> <% if !dmsf_file.locked? %>