diff options
| author | Quentin (OpenERP) <qdp-launchpad@openerp.com> | 2012-08-30 18:15:31 +0200 |
|---|---|---|
| committer | Quentin (OpenERP) <qdp-launchpad@openerp.com> | 2012-08-30 18:15:31 +0200 |
| commit | 7e7ed8ce1859e7a36a70c22eec15296ee9b6d433 (patch) | |
| tree | c3883310a65e3964fd9f76dd43fe61c35a9f4017 /addons/google_docs/static | |
| parent | 1c3f30a081c779618b892322924951c88ae9b063 (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')
| -rw-r--r-- | addons/google_docs/static/src/js/gdocs.js | 2 |
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 |
