socialforge/app/views/shield_wechat_messages/create.js.erb

7 lines
413 B
Plaintext

location.reload();
<%# if @cp == 1 %>
//$("#user_layout_projects").html(<%#=escape_javascript(render :partial => 'layouts/user_projects', :locals => {:projects => @projects,:user => @user, :page => 0}) %>);
<%# elsif @cp == 0 %>
//$("#user_layout_courses").html(<%#=escape_javascript(render :partial => 'layouts/user_courses', :locals => {:courses => @courses,:user => @user, :page => 0}) %>);
<%# end %>