|
|
@ -24,6 +24,10 @@ $('#upload_file_div').slideToggle('slow');
|
|
|
|
<% if @project %>
|
|
|
|
<% if @project %>
|
|
|
|
closeModal();
|
|
|
|
closeModal();
|
|
|
|
$("#resource_list").html('<%= j(render partial: "project_file_new" ,locals: {project: @project}) %>');
|
|
|
|
$("#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%>
|
|
|
|
<%elsif @course%>
|
|
|
|
closeModal();
|
|
|
|
closeModal();
|
|
|
|
$("#resource_list").html('<%= j(render partial: "course_file" ,locals: {course: @course}) %>');
|
|
|
|
$("#resource_list").html('<%= j(render partial: "course_file" ,locals: {course: @course}) %>');
|
|
|
|