Skip to content
Snippets Groups Projects
Commit 07eee25a authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #598570 by asimmonds: Fixed test group checkboxes no longer selecting all groups tests.

parent 33452c61
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -133,7 +133,7 @@ function theme_simpletest_test_table($variables) {
$test = $element[$test_name];
$row = array();
$current_js['testNames'][] = 'edit-' . $test_name;
$current_js['testNames'][] = $test['#id'];
// Store test title and description so that checkbox won't render them.
$title = $test['#title'];
......@@ -146,7 +146,7 @@ function theme_simpletest_test_table($variables) {
$test['#name'] = $test_name;
$row[] = drupal_render($test);
$row[] = theme('indentation', array('size' => 1)) . '<label for="edit-' . $test_name . '">' . $title . '</label>';
$row[] = theme('indentation', array('size' => 1)) . '<label for="' . $test['#id'] . '">' . $title . '</label>';
$row[] = '<div class="description">' . $description . '</div>';
$rows[] = array('data' => $row, 'class' => array($test_class . '-test', ($collapsed ? 'js-hide' : '')));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment