ShareThis link doesn't show in IE7 (link area) in nodes and teasers. On the other hand, PingThis works.
Anyone else can confirm? Stupid M$FT!
| Comment | File | Size | Author |
|---|---|---|---|
| #14 | sharethis_comma_fix.patch | 822 bytes | cglusky |
ShareThis link doesn't show in IE7 (link area) in nodes and teasers. On the other hand, PingThis works.
Anyone else can confirm? Stupid M$FT!
| Comment | File | Size | Author |
|---|---|---|---|
| #14 | sharethis_comma_fix.patch | 822 bytes | cglusky |
Comments
Comment #1
spiffyd commentedBTW Firebug identified this error with ShareThis not sure if module is related but I'll shoot:
"http://w.sharethis.com/widget/?tabs=web%2Cpost%2Cemail&charset=utf-8&sty..."
lineNumber
53
message
"node is null"
name
"TypeError"
stack
"(null)@http://w.sharethis.com/widget/?tabs=web%2Cpost%2Cemail&charset=utf-8&sty...\n@http://w.sharethis.com/widget/?tabs=web%2Cpost%2Cemail&charset=utf-8&sty...\n"
Comment #2
strangeluck commentedhaving the same issue. can confirm it also does not show up in ie6. any help would be greatly appreciated.
Comment #3
snowball43 commentedThis is not a ShareThis for Drupal problem, this exists for all ShareThis widgets including one for Wordpress.
Comment #4
spiffyd commentedThe problem still exists even if the source is different.
Comment #5
nodegate commentedSame error here on IE7.
Comment #6
nodegate commentedHere's the solution. Maintainer please update:
You have an extra comma after the url object property.
SHARETHIS.addEntry({
title:'UPDATE! Missing Robot, post prime suspect',
url:'http://lilyonthedustbin.com/2008/06/20/missing-robot-post-prime-suspect/', <--extra ,
}, {button:true} );
Remove that comma and that should fix it!
Comment #7
BuyBub.com commentedI updated sharethis.module according to this and it works perfectly for IE7. Could please the maintainer update the source for this module?
Thanks.
Comment #8
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #9
spiffyd commentedCan someone verify this has been fixed in the latest dev before closing thread? Thanks.
Comment #10
gjperera commentedThe solution above has worked on my site....thanks for posting
Comment #11
donkasok commentedIts working... thanks dude
Comment #12
spiffyd commentedNeeds to be rolled into the next CVS.
Comment #13
cglusky commentedI just downloaded 1.3.3 and the extra comma in question seems to be generated on line 139 in sharethis.module
Going to test it shortly. If it works then I will create a patch.
R,
Coby
Comment #14
cglusky commentedHere's the patch. Sorry for the delay. You can apply this patch or just edit the sharethis.module file and delete the extra comma around lines 139 and 170 - It appeared twice, once for node hook and once for link hook.
R,
Coby
Comment #15
robloachYup.... JavaScript doesn't really like our PHP array coding convention.
Comment #16
robloachStuck it in a drupal_to_js() function..... http://drupal.org/cvs?commit=159316