Index: modules/node/content_types.inc
===================================================================
RCS file: /cvs/drupal/drupal/modules/node/content_types.inc,v
retrieving revision 1.101
diff -p -U 6 -r1.101 content_types.inc
--- modules/node/content_types.inc	12 Nov 2009 07:00:03 -0000	1.101
+++ modules/node/content_types.inc	15 Nov 2009 20:09:43 -0000
@@ -139,12 +139,15 @@ function node_type_form($form, &$form_st
 
   $form['submission'] = array(
     '#type' => 'fieldset',
     '#title' => t('Submission form settings'),
     '#collapsible' => TRUE,
     '#group' => 'additional_settings',
+    '#attached' => array(
+      'js' => array(drupal_get_path('module', 'node') . '/content_types.js'),
+    ),
   );
   $form['submission']['title_label'] = array(
     '#title' => t('Title field label'),
     '#type' => 'textfield',
     '#default_value' => $type->title_label,
     '#required' => TRUE,
@@ -181,12 +184,15 @@ function node_type_form($form, &$form_st
   $form['workflow'] = array(
     '#type' => 'fieldset',
     '#title' => t('Publishing options'),
     '#collapsible' => TRUE,
     '#collapsed' => TRUE,
     '#group' => 'additional_settings',
+    '#attached' => array(
+      'js' => array(drupal_get_path('module', 'node') . '/content_types.js'),
+    ),
   );
   $form['workflow']['node_options'] = array('#type' => 'checkboxes',
     '#title' => t('Default options'),
     '#default_value' => variable_get('node_options_' . $type->type, array('status', 'promote')),
     '#options' => array(
       'status' => t('Published'),
@@ -199,12 +205,15 @@ function node_type_form($form, &$form_st
   $form['display'] = array(
     '#type' => 'fieldset',
     '#title' => t('Display settings'),
     '#collapsible' => TRUE,
     '#collapsed' => TRUE,
     '#group' => 'additional_settings',
+    '#attached' => array(
+      'js' => array(drupal_get_path('module', 'node') . '/content_types.js'),
+    ),
   );
   $form['display']['node_submitted'] = array(
     '#type' => 'checkbox',
     '#title' => t('Display post information'),
     '#default_value' => variable_get('node_submitted_' . $type->type, TRUE),
     '#description' => t('Enable the <em>submitted by Username on date</em> text.'),
