2015-12-30 17:27:44 +08:00
|
|
|
<% if @flag %>
|
2017-03-17 13:55:21 +08:00
|
|
|
<% 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 %>
|