diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-11-05 19:47:20 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-11-05 19:47:20 +0000 |
commit | ae85abb9833e0600afa0595a912be8065f8bccab (patch) | |
tree | 93940d8f28f7f5c63c07ecab9d94bdf20544fbbe /modules/node/node.pages.inc | |
parent | e920fe34ef16d30af0f4fb8e33b565e572ab30c8 (diff) | |
download | brdo-ae85abb9833e0600afa0595a912be8065f8bccab.tar.gz brdo-ae85abb9833e0600afa0595a912be8065f8bccab.tar.bz2 |
- Patch #955610 by casey: impossible to have multiple node forms on one page due to fixed IDs.
Diffstat (limited to 'modules/node/node.pages.inc')
-rw-r--r-- | modules/node/node.pages.inc | 9 |
1 files changed, 9 insertions, 0 deletions
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'), ), |