diff --git a/app/views/users/user_resource_create.js.erb b/app/views/users/user_resource_create.js.erb index f7ae832d1..2d6c4f4d8 100644 --- a/app/views/users/user_resource_create.js.erb +++ b/app/views/users/user_resource_create.js.erb @@ -2,4 +2,6 @@ closeModal(); $("#resources_list").html('<%= escape_javascript( render :partial => 'resources_list' ,:locals=>{ :attachments => @attachments})%>'); //这里不能将翻页的更新 -$("#res_all_count").html(parseInt($("#res_all_count").html())+1); \ No newline at end of file +$("#res_all_count").html(parseInt($("#res_all_count").html())+1); +$("#res_count").html(0); +$("#checkboxAll").attr('checked',false); \ No newline at end of file