[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user