Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Ajax no longer working
blizeH
✭✭
Hi,
Since upgrading to Vanilla 2.2 the Thankful plugin ajax isn't working, meaning whenever I thank a post the page reloads and jumps to the top.
Is there anyway to fix this please?
Thank you
Tagged:
0
Comments
In file thankfulpeople.functions.js in plugins/ThankfulPeople2/js/ search for this line:
$('span.Thank > a, span.UnThank > a').live('click', function(){
and change .live to .livequery like this:
$('span.Thank > a, span.UnThank > a').livequery('click', function(){
Now uninstall and reinstall your plugin.
Brilliant! It's working perfectly now, thank you
The plugin has now been updated with this and some locale fixes which were needed for Vanilla 2.2.
Same issue in 3.3 (so i assume 3.x) refreshing the whole page upon thanks even with:
$('span.Thank > a, span.UnThank > a').livequery('click', function(){