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) { ...@@ -41,9 +41,7 @@ function simpletest_test_form($form) {
'#value' => t('Run tests'), '#value' => t('Run tests'),
); );
$form['clean'] = array( $form['clean'] = array(
'#type' => 'details', '#type' => 'fieldset',
'#collapsible' => FALSE,
'#collapsed' => FALSE,
'#title' => t('Clean test environment'), '#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.'), '#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) { ...@@ -221,7 +219,7 @@ function simpletest_result_form($form, &$form_state, $test_id) {
// Summary result widget. // Summary result widget.
$form['result'] = array( $form['result'] = array(
'#type' => 'details', '#type' => 'fieldset',
'#title' => t('Results'), '#title' => t('Results'),
); );
$form['result']['summary'] = $summary = array( $form['result']['summary'] = $summary = array(
...@@ -289,7 +287,7 @@ function simpletest_result_form($form, &$form_state, $test_id) { ...@@ -289,7 +287,7 @@ function simpletest_result_form($form, &$form_state, $test_id) {
// Actions. // Actions.
$form['#action'] = url('admin/config/development/testing/results/re-run'); $form['#action'] = url('admin/config/development/testing/results/re-run');
$form['action'] = array( $form['action'] = array(
'#type' => 'details', '#type' => 'fieldset',
'#title' => t('Actions'), '#title' => t('Actions'),
'#attributes' => array('class' => array('container-inline')), '#attributes' => array('class' => array('container-inline')),
'#weight' => -11, '#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