socialforge/app/views/messages/reply.js.erb

6 lines
633 B
Plaintext
Raw Normal View History

2015-09-01 15:24:37 +08:00
<%if @project%>
$("#user_activity_<%= @user_activity_id%>").replaceWith("<%= escape_javascript(render :partial => 'users/project_message', :locals => {:activity => @topic,:user_activity_id =>@user_activity_id,:first_user_activity =>@first_user_activity,:page => @page}) %>");
2015-09-01 15:24:37 +08:00
<%elsif @course%>
$("#user_activity_<%= @user_activity_id%>").replaceWith("<%= escape_javascript(render :partial => 'users/course_message', :locals => {:activity => @topic,:user_activity_id =>@user_activity_id,:first_user_activity =>@first_user_activity,:page => @page}) %>");
2015-09-01 15:24:37 +08:00
<%end%>
2015-09-19 11:18:41 +08:00
init_activity_KindEditor_data(<%= @user_activity_id%>,"","87%");