[FIX] google_docs: do not declare self = this as a GLOBAL variable

bzr revid: qdp-launchpad@openerp.com-20120830161531-w0it8fda6a2j84vk
This commit is contained in:
Quentin (OpenERP)
2012-08-30 18:15:31 +02:00
parent 1c3f30a081
commit 7e7ed8ce18
+1 -1
View File
@@ -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