Skip to content
Snippets Groups Projects
Commit 2c99f0b2 authored by Angie Byron's avatar Angie Byron
Browse files

Issue #1886728 by tim.plunkett: Switch from details to fieldset when collapsing isn't needed.

parent 6899a43d
No related branches found
No related tags found
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
......@@ -41,9 +41,7 @@ function simpletest_test_form($form) {
'#value' => t('Run tests'),
);
$form['clean'] = array(
'#type' => 'details',
'#collapsible' => FALSE,
'#collapsed' => FALSE,
'#type' => 'fieldset',
'#title' => t('Clean test environment'),
'#description' => t('Remove tables with the prefix "simpletest" and temporary directories that are left over from tests that crashed. This is intended for developers when creating tests.'),
);
......@@ -221,7 +219,7 @@ function simpletest_result_form($form, &$form_state, $test_id) {
// Summary result widget.
$form['result'] = array(
'#type' => 'details',
'#type' => 'fieldset',
'#title' => t('Results'),
);
$form['result']['summary'] = $summary = array(
......@@ -289,7 +287,7 @@ function simpletest_result_form($form, &$form_state, $test_id) {
// Actions.
$form['#action'] = url('admin/config/development/testing/results/re-run');
$form['action'] = array(
'#type' => 'details',
'#type' => 'fieldset',
'#title' => t('Actions'),
'#attributes' => array('class' => array('container-inline')),
'#weight' => -11,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment