课程动态回复之后,编辑器变宽

This commit is contained in:
sw 2015-09-19 13:45:32 +08:00
parent 64132de07f
commit ccd19021ae
2 changed files with 3 additions and 1 deletions

View File

@ -162,7 +162,7 @@ class MessagesController < ApplicationController
@reply.subject = "RE: #{@topic.subject}" unless params[:reply][:subject]
@topic.children << @reply
user_activity = UserActivity.where("act_type='Message' and act_id =#{@topic.id}").first
user_activity.updated_at = @reply.created_on
user_activity.updated_at = Time.now
user_activity.save
#@topic.update_attribute(:updated_on, Time.now)
if !@reply.new_record?

View File

@ -151,4 +151,6 @@ function init_activity_KindEditor_data(id){
}
});
});
$(".ke-edit").css("height","25px");
}