Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sharing link does not work. #58

Open
GoogleCodeExporter opened this issue Mar 15, 2015 · 1 comment
Open

Sharing link does not work. #58

GoogleCodeExporter opened this issue Mar 15, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. With the plugin "sharing enabled" klick the link "not shared" next to an
item

What is the expected output? What do you see instead?
The link schould change to 'shared', but instead you get a blank page with
FALSE 

What version of the product are you using? On what operating system?
0.5 (latest)

Please provide any additional information below.

Solution: in plugins/sharing.php 

change the line:   

return "<a href=\"$shared_link\" onclick=\"$shared_link\"><img
src=\"$shared_image\" width=\"12\" height=\"12\" border=\"0\"/></a> <a
href=\"$shared_link\">$shared_text</a> ";

with: 

return "<a href=\"#\" onclick=\"$shared_link\"><img src=\"$shared_image\"
width=\"12\" height=\"12\" border=\"0\"/></a> <a href=\"#\"
onclick=\"$shared_link\">$shared_text</a> ";





Original issue reported on code.google.com by [email protected] on 13 May 2009 at 1:13

@GoogleCodeExporter
Copy link
Author

sorry, correct code should be: 

return "<a href=\"#\" onclick=\"$shared_link; return false;\"><img
src=\"$shared_image\" width=\"12\" height=\"12\" border=\"0\"/></a> <a 
href=\"#\"
onclick=\"$shared_link; return false;\">$shared_text</a> ";

(so page doesn't refresh) 

Original comment by [email protected] on 13 May 2009 at 1:32

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

No branches or pull requests

1 participant