Hey Jochen,

me again! I found out why ajax for nodes isn't working:
// activitycomments_node is always empty
$node_comment = isset($_POST['activitycomments_node']) ? $_POST['activitycomments_node']: 0;
// it's mean to use code like this :p I had to ask someone what this is doing.
$node_comment = (int) ($node_comment && $nid);

Nevermind! I attached a patch but i couldn't test if it breaks loading heartbeat messages instead of node comments so please have a good at it.

kind regards
Volkan

CommentFileSizeAuthor
heartbeat_node_ajax.patch878 bytesmuschpusch
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Stalski’s picture

Status: Active » Fixed

That code is not so nice indeed :)
I fixed it a bit and pushed to git.

Status: Fixed » Closed (fixed)

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