解决项目新建帖子中,点击取消按钮没有反应的问题

This commit is contained in:
ouyangxuhua 2015-12-29 09:53:44 +08:00
parent 5334a3d40f
commit 0d98dba25c
2 changed files with 3 additions and 3 deletions

View File

@ -6,8 +6,8 @@
function reset_topic(){
$("#message_subject").val("");
$("#subjectmsg").text("");
document.getElementById("message_sticky").checked=false;
document.getElementById("message_locked").checked=false;
// document.getElementById("message_sticky").checked=false;
// document.getElementById("message_locked").checked=false;
$("#topic_attachments").html("<%= escape_javascript(render :partial => 'attachments/form_course', :locals => {:container => Message.new, :isReply => @isReply})%>");
message_content_editor.html("");
$("#topic_editor").toggle();

View File

@ -11,7 +11,7 @@
#
# It's strongly recommended to check this file into your version control system.
ActiveRecord::Schema.define(:version => 20151223062932) do
ActiveRecord::Schema.define(:version => 20151224090313) do
create_table "activities", :force => true do |t|
t.integer "act_id", :null => false