项目动态回复栏展开更多后,无回复框

This commit is contained in:
daiao 2017-03-02 11:07:55 +08:00
parent c84383b357
commit aa1d2854b0
1 changed files with 2 additions and 1 deletions

View File

@ -45,7 +45,6 @@ $('#reply_div_<%= params[:div_id].to_i %>').html('<%= escape_javascript(render :
:locals => {:comments => @journals,
:user_activity_id => @user_activity_id,
:activity => @activity}) %>');
sd_create_editor_from_data(<%= @user_activity_id %>, null, "100%", "UserActivity");
<% elsif params[:type] == 'is_project_message' %>
$('#reply_div_<%= params[:div_id].to_i %>').html('<%= escape_javascript(render :partial => 'projects/project_message_replies',
:locals => {:comments => @journals,
@ -53,3 +52,5 @@ sd_create_editor_from_data(<%= @user_activity_id %>, null, "100%", "UserActivity
:type => @type,
:activity_id => params[:id].to_i}) %>');
<% end %>
// 创建回复框
sd_create_editor_from_data(<%= @user_activity_id %>, null, "100%", "UserActivity");