You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
441 B
9 lines
441 B
<% if @save_flag %>
|
|
<% if Rails.env.development? %>
|
|
console.debug('课程修改成功:结束时间改为<%=Course.find_by_extra(@project.identifier).try(:endup_time)%>');
|
|
<% end %>
|
|
$('#finish_course_<%=@project.id%>').replaceWith("<%= j(render partial: 'courses/set_course_time', :locals => {:project => @project} )%>")
|
|
<% else %>
|
|
alert('权限不足,设置失败,请在论坛提交问题,等待管理员处理。');
|
|
<% end %>
|