summaryrefslogtreecommitdiff
path: root/modules/simpletest/simpletest.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-10-06 14:38:02 +0000
committerDries Buytaert <dries@buytaert.net>2008-10-06 14:38:02 +0000
commitcbeaf157af49b812007074d73dfe617188800dce (patch)
tree64c0a352e167018dedf9fc25078469931ac8cd50 /modules/simpletest/simpletest.module
parentd35f1517c37cc3b5d9a340cbbf0ece145d1da978 (diff)
downloadbrdo-cbeaf157af49b812007074d73dfe617188800dce.tar.gz
brdo-cbeaf157af49b812007074d73dfe617188800dce.tar.bz2
- Patch #308668 by jpetso, boombatower: make test selection page work when Javascript is disabled.
Diffstat (limited to 'modules/simpletest/simpletest.module')
-rw-r--r--modules/simpletest/simpletest.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/simpletest/simpletest.module b/modules/simpletest/simpletest.module
index ff338b12f..f2e547fcd 100644
--- a/modules/simpletest/simpletest.module
+++ b/modules/simpletest/simpletest.module
@@ -229,7 +229,7 @@ function theme_simpletest_test_table($table) {
// Expand/collapse image and group title.
$row[] = array(
- 'data' => '<div class="simpletest-image" id="simpletest-test-group-' . $test_class . '">' . $js['images'][0] . '</div>&nbsp;' .
+ 'data' => '<div class="simpletest-image" id="simpletest-test-group-' . $test_class . '"></div>&nbsp;' .
'<label for="' . $test_class . '-select-all" class="simpletest-group-label">' . $key . '</label>',
'style' => 'font-weight: bold;'
);
@@ -258,7 +258,7 @@ function theme_simpletest_test_table($table) {
$row[] = drupal_render($test);
$row[] = theme('indentation', 1) . '<label for="edit-' . $test_name . '">' . $title . '</label>';
$row[] = '<div class="description">' . $description . '</div>';
- $rows[] = array('data' => $row, 'style' => 'display: none;', 'class' => $test_class . '-test');
+ $rows[] = array('data' => $row, 'class' => $test_class . '-test js-hide');
}
$js['simpletest-test-group-'. $test_class] = $current_js;
unset($table[$key]);