r-a-y / buddypress-followers

Follow users on your BuddyPress site. Similar to Twitter!
http://wordpress.org/plugins/buddypress-followers/
74 stars 39 forks source link

Follow button on AJAX doesn't use current button classes #56

Closed r-a-y closed 10 years ago

r-a-y commented 10 years ago

See: https://wordpress.org/support/topic/ajax-doesnt-respect-link-class-param

slaFFik commented 10 years ago

Viva la fixes!

r-a-y commented 10 years ago

@slaFFik - Can you test the latest commit and see if it fixes things for you? I did some quick testing and it worked for me.

slaFFik commented 10 years ago

@r-a-y It works now, thanks!

Is it possible to make bp_follow_button_action() a global function? Thus I (and others) will be able to not modify bp-follow.js file and just the event caller in own js files.

r-a-y commented 10 years ago

@slaFFik - Let me know if the latest commit works for you.

slaFFik commented 10 years ago

@r-a-y Worked for me. Thank you!

r-a-y commented 10 years ago

Cool! Thanks for reporting!