文件上传完成后给出提醒
This commit is contained in:
parent
f9cecbee5c
commit
faf019b326
|
@ -21,9 +21,13 @@
|
|||
$("#attachments_fields").children().remove();
|
||||
$("#upload_file_count").text("未上传文件");
|
||||
$('#upload_file_div').slideToggle('slow');
|
||||
<% if @project%>
|
||||
<% if @project %>
|
||||
closeModal();
|
||||
$("#resource_list").html('<%= j(render partial: "project_file_new" ,locals: {project: @project}) %>');
|
||||
// 添加文件上传成功提示,
|
||||
var div = $('<div id="addBox">文件上传成功!</div>');
|
||||
$("#course_list").prepend(div);
|
||||
setTimeout( function(){div.remove();},30000)
|
||||
<%elsif @course%>
|
||||
closeModal();
|
||||
$("#resource_list").html('<%= j(render partial: "course_file" ,locals: {course: @course}) %>');
|
||||
|
|
Loading…
Reference in New Issue