6 lines
501 B
Plaintext
6 lines
501 B
Plaintext
$("#homework_post_reply_<%= @user_activity_id%>").replaceWith("<%= escape_javascript(render :partial => 'users/homework_post_reply', :locals => {:activity => @homework_common, :user_activity_id => @user_activity_id, :is_teacher => @is_teacher}) %>");
|
|
<% if @user_activity_id != @homework_common.id %>
|
|
sd_create_editor_from_data(<%= @user_activity_id%>,"","100%", "UserActivity");
|
|
<% else %>
|
|
sd_create_editor_from_data(<%= @homework_common.id%>,"","100%", "<%=@homework_common.class.to_s%>");
|
|
<% end %> |