Dear author,
There is a incorrect code at line#153 file ajax_comments.module
$new_form_state['build_info']['args'][] = (object) array('nid' => $node->nid);
"$node-nid" is invalid, the correct nid is $comment->nid
The correct code:
$new_form_state['build_info']['args'][] = (object) array('nid' => $comment->nid);

I hope it will be fix on next version.

Comments

ttkaminski’s picture

$node->nid is correct, it just needs to be initialized via $node = $form['#node'];

jumoke’s picture

It looks like this fix was attempted on the dev version. It doesn't go to the new page now but it sticks another comment form below the existing form (making it 2 forms) which is really confusing for the user.

formatC'vt’s picture

Version: 7.x-1.0-alpha1 » 7.x-1.x-dev
Issue summary: View changes
Status: Active » Fixed

Try latest dev, please

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.