summaryrefslogtreecommitdiff
path: root/modules/comment/comment.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r--modules/comment/comment.module2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index e00057506..6c7e582fa 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -580,6 +580,8 @@ function comment_form_alter(&$form, $form_state, $form_id) {
'#title' => t('Comment settings'),
'#collapsible' => TRUE,
'#collapsed' => TRUE,
+ '#group' => 'additional_settings',
+ '#attached_js' => array(drupal_get_path('module', 'comment') . '/comment-node-form.js'),
'#weight' => 30,
);
$comment_count = isset($node->nid) ? db_query('SELECT comment_count FROM {node_comment_statistics} WHERE nid = :nid', array(':nid' => $node->nid))->fetchField() : 0;