2013-08-01 10:33:49 +08:00
|
|
|
$('#attachments_<%= j params[:attachment_id] %>').remove();
|
2014-04-17 08:33:44 +08:00
|
|
|
var count=$('#attachments_fields>span').length;
|
|
|
|
if(count<=0){
|
2015-03-19 17:21:11 +08:00
|
|
|
$("#upload_file_count").text(<%= l(:label_no_file_uploaded)%>);
|
2014-04-17 08:33:44 +08:00
|
|
|
$(".remove_all").remove();
|
|
|
|
}else{
|
|
|
|
$("#upload_file_count").html("已上传"+"<span id=\"count\">"+count+"</span>"+"个文件");
|
|
|
|
}
|