Skip to content
This repository has been archived by the owner on Jan 18, 2023. It is now read-only.

js script events click #21

Closed
andersonf opened this issue Nov 29, 2012 · 1 comment
Closed

js script events click #21

andersonf opened this issue Nov 29, 2012 · 1 comment

Comments

@andersonf
Copy link

After upgrading to version 0.4.4 my facebook:loginLink stopped working.
I had to add <r:layoutResources /> in and .
Added a new script "bundle-fb-sdk_defer.js" with the click method in class loginLink button.
Over the click event is not adding.
I had to put the method into: $ (document). Ready (function () {...});
What am I doing wrong ?

@benorama
Copy link
Member

You need to use the Resource Plugin (http://grails.org/plugin/resources) and set the correct r:layoutResources in your layouts.

This might be the cause of your issue.
Check out the doc of the Resource Plugin, it's a fantastic plugin.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants