diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-10-20 00:05:38 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-10-20 00:05:38 +0000 |
commit | 07eee25abec9846b0f181ab07514a7b4e56020ac (patch) | |
tree | 67d4391cb8999857963726868ced61f3ba83b692 | |
parent | 33452c61a29565c495f57793de2f4967ad118b12 (diff) | |
download | brdo-07eee25abec9846b0f181ab07514a7b4e56020ac.tar.gz brdo-07eee25abec9846b0f181ab07514a7b4e56020ac.tar.bz2 |
- Patch #598570 by asimmonds: Fixed test group checkboxes no longer selecting all groups tests.
-rw-r--r-- | modules/simpletest/simpletest.pages.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/simpletest/simpletest.pages.inc b/modules/simpletest/simpletest.pages.inc index 5ba188f66..ba2588919 100644 --- a/modules/simpletest/simpletest.pages.inc +++ b/modules/simpletest/simpletest.pages.inc @@ -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' : ''))); |