summaryrefslogtreecommitdiff
path: root/addons/google_docs/static/src
diff options
context:
space:
mode:
authorpankita shah (Open ERP) <shp@tinyerp.com>2012-10-08 15:20:03 +0530
committerpankita shah (Open ERP) <shp@tinyerp.com>2012-10-08 15:20:03 +0530
commitda24be3c605d0c478258d3f7cd418d58b967a247 (patch)
treeca87dec2f5b58b5f551bf7836f60ae867df1e536 /addons/google_docs/static/src
parent667da9253fd647a7888d7986d996b9c66f4797e7 (diff)
parent5e31fdf8a2684d2c645f57ce8f8baa8e79bba85b (diff)
[MERGE]: Merged with lp:openobject-addons
bzr revid: shp@tinyerp.com-20121008095003-ni4sv05fylxg3wx9
Diffstat (limited to 'addons/google_docs/static/src')
-rw-r--r--addons/google_docs/static/src/js/gdocs.js4
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 },
]);
}
},