[FIX]share: Fixed the issue of translation of share link of share web-addons.
bzr revid: mma@tinyerp.com-20121120065427-wa6sh1suitqqzqeb
This commit is contained in:
parent
d9d127403b
commit
33edc83689
|
@ -1,6 +1,7 @@
|
|||
|
||||
openerp.share = function(session) {
|
||||
|
||||
|
||||
var _t = session.web._t;
|
||||
var has_action_id = false;
|
||||
|
||||
function launch_wizard(self, view, user_type, invite) {
|
||||
|
@ -57,10 +58,10 @@ openerp.share = function(session) {
|
|||
this._super(this);
|
||||
has_share(function() {
|
||||
self.add_items('other', [
|
||||
{ label: 'Share',
|
||||
{ label: _t('Share'),
|
||||
callback: self.on_click_share,
|
||||
classname: 'oe_share' },
|
||||
{ label: 'Embed',
|
||||
{ label: _t('Embed'),
|
||||
callback: self.on_click_share_link,
|
||||
classname: 'oe_share' },
|
||||
]);
|
||||
|
|
Loading…
Reference in New Issue