From 697784e91470d7b8d11ed65fea88d6af1c50284a Mon Sep 17 00:00:00 2001 From: Alexander O'Neill Date: Fri, 4 Mar 2011 14:30:08 -0400 Subject: [PATCH] ISLANDORA-214 Collapse fieldsets. --- fedora_repository.module | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/fedora_repository.module b/fedora_repository.module index 21353a35..62fe09db 100644 --- a/fedora_repository.module +++ b/fedora_repository.module @@ -1768,15 +1768,17 @@ function fedora_repository_solution_pack_form($form, $solution_pack_name, $objec $form = array(); $form['solution_pack'] = array( '#type' => 'fieldset', - '#title' => "Objects", - // '#tree' => TRUE, - '#collapsed' => TRUE, - '#collapsible' => TRUE, + '#title' => $solution_pack_name, ); $needs_update = FALSE; $needs_install = FALSE; $form['solution_pack']['objects'] = array( - + '#type' => 'fieldset', + '#title' => "Objects", + // '#tree' => TRUE, + '#attributes' => array('class' => 'collapsed'), + '#collapsible' => TRUE, + '#collapsed' => TRUE, ); foreach($objects as $object) { if (isset($object['pid'])) {