取消发布作业时间

This commit is contained in:
sw 2015-08-29 19:02:47 +08:00
parent 09a994f76a
commit c416a312cf
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@
function reset_homework(){
$("#homework_name").val("");
$("#homework_end_time").val("");
$("#homework_end_time").val("<%= (Time.now + 3600 * 24).strftime('%Y-%m-%d')%>");
$("#course_id").val("");
$("#homework_attachments").html("<%= escape_javascript(render :partial => 'users/user_homework_attachment', :locals => { :container => HomeworkCommon.new })%>");
homework_description_editor.html("");