课程动态回复之后,编辑器变宽
This commit is contained in:
parent
64132de07f
commit
ccd19021ae
|
@ -162,7 +162,7 @@ class MessagesController < ApplicationController
|
||||||
@reply.subject = "RE: #{@topic.subject}" unless params[:reply][:subject]
|
@reply.subject = "RE: #{@topic.subject}" unless params[:reply][:subject]
|
||||||
@topic.children << @reply
|
@topic.children << @reply
|
||||||
user_activity = UserActivity.where("act_type='Message' and act_id =#{@topic.id}").first
|
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
|
user_activity.save
|
||||||
#@topic.update_attribute(:updated_on, Time.now)
|
#@topic.update_attribute(:updated_on, Time.now)
|
||||||
if !@reply.new_record?
|
if !@reply.new_record?
|
||||||
|
|
|
@ -151,4 +151,6 @@ function init_activity_KindEditor_data(id){
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$(".ke-edit").css("height","25px");
|
||||||
}
|
}
|
Loading…
Reference in New Issue