From 2c99f0b21755c34cffd4fc5b38161d64bd69ca8a Mon Sep 17 00:00:00 2001
From: webchick <webchick@24967.no-reply.drupal.org>
Date: Fri, 18 Jan 2013 21:45:12 -0800
Subject: [PATCH] Issue #1886728 by tim.plunkett: Switch from details to
 fieldset when collapsing isn't needed.

---
 core/modules/simpletest/simpletest.pages.inc | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/core/modules/simpletest/simpletest.pages.inc b/core/modules/simpletest/simpletest.pages.inc
index d5e8c5f88327..f1d55d80e352 100644
--- a/core/modules/simpletest/simpletest.pages.inc
+++ b/core/modules/simpletest/simpletest.pages.inc
@@ -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,
-- 
GitLab