Only in workflow: .svn
Only in workflow/includes: .svn
Only in workflow/translations: .svn
diff -urp workflow-orig/workflow.admin.inc workflow/workflow.admin.inc
--- workflow-orig/workflow.admin.inc	2010-03-15 00:22:48.000000000 -0400
+++ workflow/workflow.admin.inc	2010-11-17 14:17:25.000000000 -0500
@@ -204,6 +204,12 @@ function workflow_edit_form($form_state,
     '#default_value' => $workflow->options['comment_log_tab'],
     '#description' => t("On the workflow tab, a Comment form can be shown so that the person making the state change can record reasons for doing so. The comment is then included in the node's workflow history."),
   );
+  $form['comment']['comment_group_visibility'] = array(
+    '#type' => 'checkbox',
+    '#title' => t('Show comment field as collapsed by default'),
+    '#default_value' => $workflow->options['comment_group_visibility'],
+    '#description' => t("On the workflow tab, a Comment form fieldset can be shown as collapsed. Check this box to collapse the fieldset by default."),
+  );
   $form['tab'] = array(
     '#type' => 'fieldset',
     '#title' => t('Workflow tab permissions'),
@@ -339,6 +345,7 @@ function workflow_edit_form_submit($form
   $options = array(
     'comment_log_node' => $form_state['values']['comment_log_node'],
     'comment_log_tab' => $form_state['values']['comment_log_tab'],
+    'comment_group_visibility' => $form_state['values']['comment_group_visibility'],
     'name_as_title' => $form_state['values']['name_as_title'],
   );
   workflow_update($form_state['values']['wid'], $form_state['values']['wf_name'], array_filter($form_state['values']['tab_roles']), $options);
diff -urp workflow-orig/workflow.module workflow/workflow.module
--- workflow-orig/workflow.module	2010-10-24 22:13:48.000000000 -0400
+++ workflow/workflow.module	2010-11-17 14:19:37.000000000 -0500
@@ -458,8 +458,8 @@ function workflow_form_alter(&$form, $fo
         '#type' => 'fieldset',
         '#title' => $name,
         '#collapsible' => TRUE,
-        '#collapsed' => FALSE,
-        '#weight' => 10,
+        '#collapsed' => ($workflow->options['comment_group_visibility'] == 1) ? TRUE: FALSE,
+       '#weight' => 10,
       );
     }
