chrome浏览器点击保存测验头部信息无反应
This commit is contained in:
parent
838140ada8
commit
4e9e7543ba
|
@ -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>
|
Loading…
Reference in New Issue