From c93f446e5a66c09a36ac9597aa4fcba552c9de4e Mon Sep 17 00:00:00 2001 From: miss <994230062@qq.com> Date: Fri, 13 Oct 2017 19:44:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E8=B5=84=E6=BA=90=E7=9A=84ti?= =?UTF-8?q?p=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/files/_attachment_history_popub_delete.html.erb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app/views/files/_attachment_history_popub_delete.html.erb b/app/views/files/_attachment_history_popub_delete.html.erb index 3fe1495f0..d73ea48f0 100644 --- a/app/views/files/_attachment_history_popub_delete.html.erb +++ b/app/views/files/_attachment_history_popub_delete.html.erb @@ -26,7 +26,7 @@ <%= history.try(:quotes).to_i %> <%= format_time(history.created_on) %> - <%= link_to( ''.html_safe, attachment_path(history.attachment, :history_id => history, :type => "history_delete"), + <%= link_to( ''.html_safe, attachment_path(history.attachment, :history_id => history, :type => "history_delete"), :remote => true, :method => :delete,:class => "mr5") if allow_to_delete_attachment(history) %> @@ -53,6 +53,12 @@ + +