diff options
| author | Antonin Bourguignon <abo@openerp.com> | 2012-10-10 15:56:29 +0200 |
|---|---|---|
| committer | Antonin Bourguignon <abo@openerp.com> | 2012-10-10 15:56:29 +0200 |
| commit | cdc7ee2fba492df1369758102d387c35a4dea183 (patch) | |
| tree | b0f70dc9b69f31e78490c03323b2e0e79082441b /addons/google_docs/static/src | |
| parent | 79b29e17c4966f0be4f6bc42397c156e6e2d7e49 (diff) | |
| parent | 7796ecaccf787b1a2f6833ff8c68fa1cfeec2d55 (diff) | |
[MERGE] trunk
bzr revid: abo@openerp.com-20121010135629-ywtajjsopoo5jvv0
Diffstat (limited to 'addons/google_docs/static/src')
| -rw-r--r-- | addons/google_docs/static/src/js/gdocs.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/google_docs/static/src/js/gdocs.js b/addons/google_docs/static/src/js/gdocs.js index 8f41a9d7b21..bcfd24f8c0d 100644 --- a/addons/google_docs/static/src/js/gdocs.js +++ b/addons/google_docs/static/src/js/gdocs.js @@ -3,7 +3,7 @@ var _t = instance.web._t; instance.web.Sidebar = instance.web.Sidebar.extend({ on_attachments_loaded: function(attachments) { - self = this + var self = this; self._super(attachments); // if attachment contains a google doc url do nothing // else display a button to create a google doc @@ -13,7 +13,7 @@ var _t = instance.web._t; }); if (! flag) { this.add_items('files', [ - { label: _t('Google Doc'), callback: self.on_google_doc }, + { label: _t('Add Google Doc...'), callback: self.on_google_doc }, ]); } }, |
