diff --git a/app/views/stores/index.html.erb b/app/views/stores/index.html.erb index ecdc3c290..e2d65c326 100644 --- a/app/views/stores/index.html.erb +++ b/app/views/stores/index.html.erb @@ -27,7 +27,7 @@ <%= link_to c1.filename, (attachFromUrl c1), {:title => c1.filename, :target => "_blank"} %> <%= c1.downloads %> - <%= link_to_attachment c1, {:text => image_tag("/images/button/download.png", width: "22px", alt: l(:button_download)) }%> + <%= link_to_attachment c1, {:download => true, :text => image_tag("/images/button/download.png", width: "22px", alt: l(:button_download)) }%> <% end %> diff --git a/app/views/stores/search.html.erb b/app/views/stores/search.html.erb index f285fcb67..ae152d478 100644 --- a/app/views/stores/search.html.erb +++ b/app/views/stores/search.html.erb @@ -19,7 +19,7 @@
<%= result.filename %> - <%= link_to_attachment result, {:text => image_tag("/images/button/dl.png", width: "70px", alt: l(:button_download), :class => 'download_icon')}%> + <%= link_to_attachment result, {:download => true, :text => image_tag("/images/button/dl.png", width: "70px", alt: l(:button_download), :class => 'download_icon')}%>
<%= result.description %>