Index: misc/tableselect.js =================================================================== RCS file: /cvs/drupal/drupal/misc/tableselect.js,v retrieving revision 1.13 diff -u -r1.13 tableselect.js --- misc/tableselect.js 31 Aug 2009 05:51:08 -0000 1.13 +++ misc/tableselect.js 24 Mar 2010 22:14:46 -0000 @@ -37,8 +37,8 @@ } }); - // For each of the checkboxes within the table. - checkboxes = $('td input:checkbox', table).click(function (e) { + // For each of the enabled checkboxes within the table. + checkboxes = $('td input:checkbox:enabled', table).click(function(e) { // Either add or remove the selected class based on the state of the check all checkbox. $(this).parents('tr:first')[ this.checked ? 'addClass' : 'removeClass' ]('selected');