js script events click #21

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

Projects

None yet

2 participants

@andersonf

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
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.

@benorama benorama closed this Nov 30, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment