Posted by giorgio79 on July 18, 2008 at 7:43am
| Project: | addtofavorites |
| Version: | 6.x-2.1 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Issue Summary
As per subject, anyone had this?
Cheers,
G
Comments
#1
I have the same problem
the error:
addtofavorites is not defined
onclick(click clientX=0, clientY=0)
// JQuery 1.1.2
#2
Same problem here. Firefox 3.0.10 on Ubuntu Linux. Although I get no error message, clicking the link just doesn't do anything. Although in this case I am using the 6.x-1.2 version of the module.
#3
I can't get this to work in any browser
#4
I can only get V2.1 to work in IE but not in Firefox 3.0.15 nor in Safari. Any suggestions?
#5
I think the issue is that Drupal's block caching is preventing the drupal_add_js function from being called on each page render. A similar issue has been reported on views slideshow (http://drupal.org/node/404894) and fivestar (http://drupal.org/node/364764). Attached is a patch that solves the issue using the same solution that was implemented in those other modules... basically adding the JS to every page... not ideal but its the best we can do until Drupal's core JS caching changes.