编辑issue,删除上传issue为实时刷新
This commit is contained in:
parent
5bf519bbf7
commit
590af4ff4a
|
@ -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%>
|
||||
|
|
Loading…
Reference in New Issue