Javascript error

douggough@drupal.org - January 30, 2008 - 05:01
Project:jQuery Heartbeat
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:redbox2000@drupal.org
Status:closed
Description

Using this code in a block in my module:

module_invoke('jquery_heartbeat', 'set',2000,'heartbeat.php',$callback = NULL,'heartbeat');

I get this error in firebug and nothing inside the heartbeat div:
missing } after function body
[Break on this error] });

#1

douggough@drupal.org - January 30, 2008 - 05:07

Adding an extra }) at the end fixed it, even though that doesn't really add up.

#2

redbox2000@drup... - February 1, 2008 - 20:16

Thx for logging this. I've been up to my ears in other work and have not been able to focus on these modules. However, over the last few days I've rebuilt one of my personal sites -- http://inventive-minds.net -- which will be the new "home" for this project. I will put up a demo page also to show how this module works, and, of course, I will take a look at this bug. :)

Sorry for the dealyed response ...
-martin.

#3

redbox2000@drup... - February 12, 2008 - 06:15
Assigned to:Anonymous» redbox2000@drupal.org
Status:active» fixed

Pls check out new release. All bugs should be fixed now.

#4

Anonymous (not verified) - February 26, 2008 - 06:21
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.