diff --git a/public/javascripts/content.js b/public/javascripts/content.js
index <HASH>..<HASH> 100644
--- a/public/javascripts/content.js
+++ b/public/javascripts/content.js
@@ -31,7 +31,7 @@ $(document).ready(function() {
 
     $('#select_all').click(KT.content.select_all);
     $('#select_none').click(KT.content.select_none);
-    $("input[name='repoids']:checkbox").click(KT.content.select_repo);
+    $("input[name='repoids[]']:checkbox").click(KT.content.select_repo);
 
     $("#products_table").delegate(".cancel_sync", "click", function(){
         var repo_id = $(this).parents("tr").attr("data-id");
@@ -245,7 +245,7 @@ KT.content = (function(){
             $("#sync_button").addClass("disabled");
         },
         select_repo = function(){
-            $("input[name='repoids']:checked").length > 0 ? 
+            $("input[name='repoids[]']:checked").length > 0 ?
                 $("#sync_button").removeClass("disabled") : 
                 $("#sync_button").addClass("disabled");
         },
sync management - fixing button disabling