2012-01-28 10:54:11 +01:00
|
|
|
%ul.media-grid
|
2011-10-08 23:36:38 +02:00
|
|
|
- @project.users_projects.each do |up|
|
|
|
|
= render(:partial => 'team_members/show', :locals => {:member => up})
|
|
|
|
|
|
|
|
:javascript
|
2011-12-07 00:27:07 +01:00
|
|
|
$(function(){
|
2011-12-07 09:04:57 +01:00
|
|
|
$('#team-table .repo-access-select, #team-table .project-access-select').live("change", function() {
|
2011-12-07 00:27:07 +01:00
|
|
|
$(this.form).submit();
|
|
|
|
});
|
|
|
|
})
|
|
|
|
|
2012-01-28 10:54:11 +01:00
|
|
|
/*
|
2011-10-26 15:46:25 +02:00
|
|
|
$('.delete-team-member').live('ajax:success', function() {
|
|
|
|
$(this).closest('tr').fadeOut(); });
|
2012-01-28 10:54:11 +01:00
|
|
|
*/
|