]> source.dussan.org Git - nextcloud-server.git/commitdiff
make select all checkbox work again
authorRobin Appelman <icewind1991@gmail.com>
Mon, 18 Apr 2011 10:41:19 +0000 (12:41 +0200)
committerRobin Appelman <icewind1991@gmail.com>
Mon, 18 Apr 2011 10:41:19 +0000 (12:41 +0200)
files/js/files.js

index 019758dc4976c241f3721cd8acd97a3353557a58..6dc1f639e83a01cf69c30aece9592ded99656f45 100644 (file)
@@ -33,10 +33,10 @@ $(document).ready(function() {
 
         if($(this).attr('checked'))
             // Check all
-            $('.browser input:checkbox').attr('checked', true);
+            $('td.selection input:checkbox').attr('checked', true);
         else
             // Uncheck all
-            $('.browser input:checkbox').attr('checked', false);
+            $('td.selection input:checkbox').attr('checked', false);
     });
        
        // Delete current file