You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
5 lines
384 B
5 lines
384 B
6 years ago
|
<% if @course %>
|
||
|
$("#course-boardlist_new").html('<%= escape_javascript( render :partial => 'course_show_detail', :locals => {:topics => @topics, :is_course => 1, :is_board=>1}) %>');
|
||
|
<% else %>
|
||
|
$("#project-boardlist").replaceWith('<%= escape_javascript( render :partial => 'users/project_boardlist', :locals => {:topics => @topics, :is_course => 1, :is_board=>1}) %>');
|
||
|
<% end %>
|