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 |
Jump to:
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
Adding an extra }) at the end fixed it, even though that doesn't really add up.
#2
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
Pls check out new release. All bugs should be fixed now.
#4
Automatically closed -- issue fixed for two weeks with no activity.