summaryrefslogtreecommitdiff
path: root/addons/google_docs/static/src/js
diff options
context:
space:
mode:
authorQuentin (OpenERP) <qdp-launchpad@openerp.com>2012-08-30 18:15:31 +0200
committerQuentin (OpenERP) <qdp-launchpad@openerp.com>2012-08-30 18:15:31 +0200
commit7e7ed8ce1859e7a36a70c22eec15296ee9b6d433 (patch)
treec3883310a65e3964fd9f76dd43fe61c35a9f4017 /addons/google_docs/static/src/js
parent1c3f30a081c779618b892322924951c88ae9b063 (diff)
[FIX] google_docs: do not declare self = this as a GLOBAL variable
bzr revid: qdp-launchpad@openerp.com-20120830161531-w0it8fda6a2j84vk
Diffstat (limited to 'addons/google_docs/static/src/js')
-rw-r--r--addons/google_docs/static/src/js/gdocs.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/google_docs/static/src/js/gdocs.js b/addons/google_docs/static/src/js/gdocs.js
index 8f41a9d7b21..694f5736c72 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