From ae85abb9833e0600afa0595a912be8065f8bccab Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 5 Nov 2010 19:47:20 +0000 Subject: - Patch #955610 by casey: impossible to have multiple node forms on one page due to fixed IDs. --- modules/node/node.pages.inc | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'modules/node/node.pages.inc') diff --git a/modules/node/node.pages.inc b/modules/node/node.pages.inc index a85b2afcf..166a510c7 100644 --- a/modules/node/node.pages.inc +++ b/modules/node/node.pages.inc @@ -166,6 +166,9 @@ function node_form($form, &$form_state, $node) { // Collapsed by default when "Create new revision" is unchecked '#collapsed' => !$node->revision, '#group' => 'additional_settings', + '#attributes' => array( + 'class' => array('node-form-revision-information'), + ), '#attached' => array( 'js' => array(drupal_get_path('module', 'node') . '/node.js'), ), @@ -204,6 +207,9 @@ function node_form($form, &$form_state, $node) { '#collapsible' => TRUE, '#collapsed' => TRUE, '#group' => 'additional_settings', + '#attributes' => array( + 'class' => array('node-form-author'), + ), '#attached' => array( 'js' => array( drupal_get_path('module', 'node') . '/node.js', @@ -240,6 +246,9 @@ function node_form($form, &$form_state, $node) { '#collapsible' => TRUE, '#collapsed' => TRUE, '#group' => 'additional_settings', + '#attributes' => array( + 'class' => array('node-form-options'), + ), '#attached' => array( 'js' => array(drupal_get_path('module', 'node') . '/node.js'), ), -- cgit v1.2.3