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.
pgfqe6ch8/app/views/syllabuses/index.js.erb

8 lines
375 B

<% if params[:page] || params[:type] %>
$("#my_syllabuses").html("<%= j( render :partial => "syllabuses/my_syllabuses") %>");
<% elsif params[:tab] %>
$(".new-tab-nav").removeClass('background-orange');
$('#edu-tab-nav-<%= @tab %>').addClass('background-orange');
$("#edu-tab-con").html("<%= j( render :partial => "syllabuses/syllabus_index") %>");
<% end %>