socialforge/app/views/courses/finishcourse.js.erb

9 lines
289 B
Plaintext
Raw Normal View History

2014-06-05 10:33:32 +08:00
<% if @save_flag %>
2015-03-26 18:12:24 +08:00
$('#finish_course_<%=@course.id%>').replaceWith("<%= escape_javascript(set_course_time(@course_prefs))%>");
// alert("关闭成功");
2014-06-05 10:33:32 +08:00
<% else %>
alert('权限不足,设置失败,请在论坛提交问题,等待管理员处理。');
2014-06-05 10:33:32 +08:00
<% end %>