chrome浏览器点击保存测验头部信息无反应

This commit is contained in:
cxt 2015-12-03 19:21:35 +08:00
parent 838140ada8
commit 4e9e7543ba
1 changed files with 0 additions and 1 deletions

View File

@ -35,6 +35,5 @@
$("#exercise_time").val("<%=exercise.time if exercise.time!= -1 %>");
$("#exercise_publish_time").val("<%= Time.parse(format_time(exercise.publish_time)).strftime("%Y-%m-%d") if !exercise.publish_time.nil?%>");
/*$("#exercise_description").text("<%#=exercise.exercise_description.html_safe %>");*/
document.getElementById("exercise_description").innerHTML = <%=exercise.exercise_description.html_safe %>;
}
</script>