KE上传非图片格式时弹框用新的,博客帖子发帖时间改为发布

This commit is contained in:
yuanke 2016-05-18 14:15:39 +08:00
parent 0ac7163b05
commit 0e016eed2a
2 changed files with 4 additions and 2 deletions

View File

@ -43,7 +43,7 @@
<% count=activity.children.count%>
<% end %>
<li class="ml15">
<span class="grayTxt">发<%= format_time(activity.created_on) %></span>
<span class="grayTxt">发<%= format_time(activity.created_on) %></span>
<span class="grayTxt">更新:<%= format_time(activity.updated_on) %></span>
<p class="list-info fr grayTxt">
<span><%= count>0 ? "#{count}" :"0" %></span>

View File

@ -5694,7 +5694,9 @@ _plugin('core', function(K) {
}
} else {
//alert(data.message);
alert("仅支持如下图片格式:bmp,jpeg,jpg,png,gif,BMP,JPEG,JPG,PNG,GIF");
// alert("仅支持如下图片格式:bmp,jpeg,jpg,png,gif,BMP,JPEG,JPG,PNG,GIF");
var htmlvalue = "</br><div style='width:550px;text-align:center'>仅支持如下图片格式:bmp,jpeg,jpg,png,gif,BMP,JPEG,JPG,PNG,GIF!</div></br><div style='width:67px; margin:0 auto; text-align:center'><a href='javascript:void(0);' class='Blue-btn' onclick='hideModal()'>确定</a></div>";
pop_up_box(htmlvalue,580,30,50);
}
},
afterError : function(str) {