实训项目展开/收起回复加载KE
This commit is contained in:
parent
75f1fc964a
commit
9697a9b5c1
|
@ -82,7 +82,7 @@
|
|||
<%= form_for('new_form', :url => add_journal_training_task_path(activity.id, :user_activity_id => user_activity_id, :is_project => true), :method => "post", :remote => true) do |f| %>
|
||||
<input type="hidden" name="user_activity_id" value="<%= user_activity_id %>">
|
||||
<div nhname='toolbar_container_<%= user_activity_id %>'></div>
|
||||
<textarea placeholder="有问题或有建议,请直接给我留言吧!" style="display: none" nhname='new_message_textarea_<%= user_activity_id%>' name="notes"></textarea>
|
||||
<textarea placeholder="有问题或有建议,请直接给我留言吧!" style="display: none" nhname='new_message_textarea_<%= user_activity_id %>' name="notes"></textarea>
|
||||
<a id="new_message_submit_btn_<%= user_activity_id %>" href="javascript:void(0)" onclick="this.style.display='none'" class="blue_n_btn fr" style="display:none;margin-top:6px;">发送</a>
|
||||
<div class="cl"></div>
|
||||
<p nhname='contentmsg_<%= user_activity_id %>'></p>
|
||||
|
|
|
@ -45,6 +45,7 @@ $('#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,
|
||||
|
|
Loading…
Reference in New Issue