[FIX] linkedin module compliancy with saas and https protocol

bzr revid: qdp-launchpad@openerp.com-20130315103847-lr9ofry7ceuqgcu5
This commit is contained in:
Quentin (OpenERP) 2013-03-15 11:38:47 +01:00
commit c7b92b785b
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ openerp.web_linkedin = function(instance) {
return self.linkedin_def.promise();
var tag = document.createElement('script');
tag.type = 'text/javascript';
tag.src = "http://platform.linkedin.com/in.js";
tag.src = "https://platform.linkedin.com/in.js";
tag.innerHTML = 'api_key : ' + self.api_key + '\nauthorize : true\nscope: r_network r_contactinfo';
document.getElementsByTagName('head')[0].appendChild(tag);
self.linkedin_added = true;