Tableselect creates multiple "select-all" checkboxes in case the table is nested in another table(s).
Replace following line in tableselect.js:
$('form table th.select-all').parents('table').each(Drupal.tableSelect);
with
$('form table th.select-all').parent().each(Drupal.tableSelect);
enjoy! =)

CommentFileSizeAuthor
#6 jquery_update_tableselect_fix.patch428 byteswhisk
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

whisk’s picture

oops, wrong patch. use this:
Replace following line in tableselect.js:

$('form table th.select-all').parents('table').each(Drupal.tableSelect);

with

$('form table:has(th.select-all)').each(Drupal.tableSelect);

enjoy! =)

sun’s picture

Version: 5.x-2.x-dev » 5.x-2.0-rc1
Status: Needs review » Needs work
sun’s picture

Category: task » bug
sun’s picture

How can one test this patch? Which (weird) module outputs hierarchical tables?

whisk’s picture

Some (custom) themes do. The bug appears when content region is placed into a table cell.

whisk’s picture

Prepared a patch for this.

heddn’s picture

Issue summary: View changes
Status: Needs work » Closed (won't fix)

Marking this as won't fixed. 5.x is no longer supported/maintained. If this is still an issue in 7.x, then please re-open.