Commit dbcf525d authored by Dries's avatar Dries

- Patch #106351 by hickory: fixed comment forms.

parent 17a9896b
...@@ -324,7 +324,7 @@ function comment_link($type, $node = NULL, $teaser = FALSE) { ...@@ -324,7 +324,7 @@ function comment_link($type, $node = NULL, $teaser = FALSE) {
'title' => t('Add new comment'), 'title' => t('Add new comment'),
'href' => "comment/reply/$node->nid", 'href' => "comment/reply/$node->nid",
'attributes' => array('title' => t('Add a new comment to this page.')), 'attributes' => array('title' => t('Add a new comment to this page.')),
'fragment' => 'comment_form' 'fragment' => 'comment-form'
); );
} }
else { else {
...@@ -345,7 +345,7 @@ function comment_link($type, $node = NULL, $teaser = FALSE) { ...@@ -345,7 +345,7 @@ function comment_link($type, $node = NULL, $teaser = FALSE) {
'title' => t('Add new comment'), 'title' => t('Add new comment'),
'href' => "comment/reply/$node->nid", 'href' => "comment/reply/$node->nid",
'attributes' => array('title' => t('Share your thoughts and opinions related to this posting.')), 'attributes' => array('title' => t('Share your thoughts and opinions related to this posting.')),
'fragment' => 'comment_form' 'fragment' => 'comment-form'
); );
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment