[IMP] minor improvement in linkedin module

bzr revid: nicolas.vanhoren@openerp.com-20120821104403-qbmv0tjyngauwfou
This commit is contained in:
niv-openerp 2012-08-21 12:44:03 +02:00
parent 8d1836bd30
commit 0fdded4d4e
2 changed files with 2 additions and 2 deletions

View File

@ -270,6 +270,7 @@ openerp.web_linkedin = function(instance) {
template: "LinkedIn.KeyWizard",
init: function(parent, text) {
this._super(parent, {title:_t("LinkedIn API Key")});
this.api_domain = window.location.origin;
},
start: function() {
this._super();

View File

@ -41,8 +41,7 @@
<li>Log into LinkedIn.</li>
<li>Add a new application and fill the form:
<ul>
<li>JavaScript API Domain is Your domain name (e.g. https://yourcompany.my.openerp.com)</li>
<li>You can give multiple domain (e.g. yourcompany.my.openerp.com)</li>
<li>JavaScript API Domain: <t t-esc="widget.api_domain"/></li>
<li>The programming tool is Javascript</li>
</ul>
</li>