socialforge/app/views/members/update.js.erb

8 lines
323 B
Plaintext

<%if @project%>
$('#tab-content-members').html('<%= escape_javascript(render :partial => 'projects/settings/members') %>');
<%elsif @course%>
$('#tab-content-members').html('<%= escape_javascript(render :partial => 'courses/settings/members') %>');
<%end%>
hideOnLoad();
$("#member-<%= @member.id %>").effect("highlight");