--- ajax_comments.module 2010-10-25 08:16:48.000000000 +0300 +++ ajax_commentsNew.module 2010-12-10 17:36:12.000000000 +0200 @@ -210,8 +210,9 @@ function ajax_comments_submit($form, &$f if ($comment = db_fetch_object($result)) { $comment->name = $comment->uid ? $comment->registered_name : $comment->name; + menu_set_active_item('node/'.$comment->nid); $links = module_invoke_all('link', 'comment', $comment, 0); - drupal_alter('link', $links, $node); + drupal_alter('link', $links, $node, $comment); //render our comment and get it back to AHAH handler $output .= theme('comment_view', $comment, $node, $links);