OSDN Git Service

fixed ability to edit team member access
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Sun, 5 Feb 2012 23:56:26 +0000 (01:56 +0200)
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Sun, 5 Feb 2012 23:56:26 +0000 (01:56 +0200)
app/views/projects/_team.html.haml

index 7271479..876270a 100644 (file)
@@ -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(); });
-  */