I am using this module with Heartbeat (7.x-1.0). I have created a Panel page. I have added Statuses form with its default view and also relations activity block from heartbeat. For some time it was working fine. After that I removed relations activity block from that page, and auto refresh of statuses view failed. I observed a js break of statuses.js at line no 136 with error:
Undefined function Drupal.heartbeat.pollMessages()
To resolve this, I have included js of heartbeat in hook_init() of custom module.
drupal_add_js(drupal_get_path('module', 'heartbeat') . '/js/heartbeat.js');
This worked well.
Regards,
Tanmay
Comments
Comment #1
IceCreamYou CreditAttribution: IceCreamYou commentedCommitted fix to dev, thanks.
Comment #3
linus79 CreditAttribution: linus79 commenteddeleting
in statuses.js (lines 135/136/137)
works!
Comment #4
linus79 CreditAttribution: linus79 commentednow the problem is to comment the post!
An HTTP error 404 occurred.
in heartbeat/comment/post
Comment #5
tanmayk@linus79:
You really think, its related to Drupal.heartbeat.pollMessages(); statement? Can you please check in error logs, what errors are there??
Comment #6
IceCreamYou CreditAttribution: IceCreamYou commented@linus79: I agree with @tanmayk, #4 is a different problem. Please address separate problems in their own issues (in this case it sounds like something for the Heartbeat queue).