socialforge/app/views/attachments/upload_attachment_version.j...

11 lines
364 B
Plaintext
Raw Permalink Normal View History

2015-12-30 17:27:44 +08:00
<% if @flag %>
<% if @status == 1 %>
notice_box("更新成功");
$(".re_search").submit(); // 为了刷新
<% else %>
var htmlvalue = "<%=escape_javascript(render :partial => 'update_publish_time_box') %>";
pop_box_new(htmlvalue, 470, 140);
<% end %>
2015-12-30 17:27:44 +08:00
<%else%>
2016-11-04 18:59:48 +08:00
$("#upload_file_count").html('(更新失败)');
2015-12-30 17:27:44 +08:00
<%end %>