socialforge/app/views/comments/create.js.erb

4 lines
246 B
Plaintext

$("#user_activity_<%= @user_activity_id%>").replaceWith("<%= escape_javascript(render :partial => 'users/course_news', :locals => {:activity => @news,:user_activity_id =>@user_activity_id}) %>");
init_KindEditor_data('<%= @user_activity_id%>');