socialforge/app/views/words/reply_to_syllabus.js.erb

3 lines
406 B
Plaintext
Raw Normal View History

2016-07-25 13:56:26 +08:00
$("#reply_banner_<%=@syllabus.id %>").replaceWith("<%=escape_javascript(render :partial => 'users/reply_banner', :locals => {:count => @count, :activity => @syllabus, :user_activity_id => @syllabus.id}) %>");
2016-07-29 21:48:10 +08:00
$("#reply_div_<%=@syllabus.id %>").html("<%=escape_javascript(render :partial => 'users/news_replies', :locals => {:comments => @comments, :type => 'Syllabus', :activity_id => @syllabus.id}) %>");