diff --git a/app/views/projects/_team.html.haml b/app/views/projects/_team.html.haml
index 7271479e1d8..876270a8470 100644
--- a/app/views/projects/_team.html.haml
+++ b/app/views/projects/_team.html.haml
@@ -4,12 +4,7 @@
:javascript
$(function(){
- $('#team-table .repo-access-select, #team-table .project-access-select').live("change", function() {
+ $('.repo-access-select, .project-access-select').live("change", function() {
$(this.form).submit();
});
})
-
- /*
- $('.delete-team-member').live('ajax:success', function() {
- $(this).closest('tr').fadeOut(); });
- */