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