2015-12-04 10:59:09 +08:00
|
|
|
<% if @course %>
|
2015-11-04 10:45:02 +08:00
|
|
|
$("#user_activity_<%= @user_activity_id%>").replaceWith("<%= escape_javascript(render :partial => 'users/course_news', :locals => {:activity => @news,:user_activity_id =>@user_activity_id}) %>");
|
2015-12-04 10:59:09 +08:00
|
|
|
<% else %>
|
|
|
|
$("#user_activity_<%= @user_activity_id%>").replaceWith("<%= escape_javascript(render :partial => 'projects/project_news', :locals => {:activity => @news,:user_activity_id =>@user_activity_id}) %>");
|
|
|
|
<% end %>
|
2015-12-14 17:13:57 +08:00
|
|
|
init_activity_KindEditor_data('<%= @user_activity_id%>',"","87%", "UserActivity");
|