Linkedin Button doesnt work correctly

When in an account and clicking the linkedin button

event.returnValue is deprecated. Please use the standard event.preventDefault() instead. sugar_grp1_jquery.js?v=M-msZ_whvplv8izR-gpQrw:3
16

Uncaught TypeError: Object # has no method ‘destroy’ company_detail.js?v=M-msZ_whvplv8izR-gpQrw:43
display company_detail.js?v=M-msZ_whvplv8izR-gpQrw:43
show_ext_rest_linkedin VM162:19
onclick

I’ve noticed in FF & Chrome this is the JS error that gets thrown

dialog.destroy();dialog=new YAHOO.widget.SimpleDialog(this.div_id,{width:this.width…

removing the dialog.destroy and testing further

Load denied by X-Frame-Options: http://www.linkedin.com/companyInsider?data&companyName=Google&backgroundColor=FFFFFF&titleBackgroundColor=FFFFFF&textColor=4c4c4c&trackinginfo=http%3A%2F%2F127.0.0.1%3A8888%2Fsuitecrm%2Findex.php%3Faction%3DDetailView%26module%3DAccounts%26record%3Dda7fe7c5-941a-c558-13c6-530585326110%26return_module%3DAccounts%26return_action%3DDetailView%26offset%3D3&isPopup=no does not permit cross-origin framing

Any suggestions?

Hi Dawkins,

This appears to be a bug due to two jQuery libraries being loaded. See this topic on stack overflow.

Thanks,

Will.