6 lines
515 B
Plaintext
6 lines
515 B
Plaintext
<%if @project%>
|
|
$("#user_activity_<%= @user_activity_id%>").replaceWith("<%= escape_javascript(render :partial => 'users/project_message', :locals => {:activity => @topic,:user_activity_id =>@user_activity_id}) %>");
|
|
<%elsif @course%>
|
|
$("#user_activity_<%= @user_activity_id%>").replaceWith("<%= escape_javascript(render :partial => 'users/course_message', :locals => {:activity => @topic,:user_activity_id =>@user_activity_id}) %>");
|
|
<%end%>
|
|
init_activity_KindEditor_data(<%= @user_activity_id%>,"","87%"); |