编辑issue,删除上传issue为实时刷新

This commit is contained in:
daiao 2016-11-10 15:19:13 +08:00
parent 5bf519bbf7
commit 590af4ff4a
1 changed files with 2 additions and 2 deletions

View File

@ -12,8 +12,8 @@ $("#attachment_history_popub").html('<%= escape_javascript( render :partial => '
$("#attachment_history_popub").html('<%= escape_javascript( render :partial => 'files/attachment_history_popub') %>');
<% end %>
<% if params[:attachment_id] %>
$("#issue_upload_attachments").html('<%= escape_javascript( render :partial => 'attachments/form_attachments', :locals => { :container => @attachment.container }) %>');
<% unless @attachment.container.nil? %>
$("#issue_upload_attachments").html('<%= escape_javascript( render :partial => 'attachments/form_attachments', :locals => { :container => @attachment.container }) %>');
<% end %>
<% if @is_destroy%>