summaryrefslogtreecommitdiff
path: root/addons/google_docs
diff options
context:
space:
mode:
authorRoberto López López (OpenERP) <rlo@openerp.com>2012-02-27 17:14:13 +0100
committerRoberto López López (OpenERP) <rlo@openerp.com>2012-02-27 17:14:13 +0100
commitaf04b6860cfe10259a63a44cd6b4a4f8234eed8e (patch)
tree952410a725006ab8d60f93535f7e2b18c5b44bef /addons/google_docs
parentf0a9682a6aa6814817cca4e31fe9561bed60d126 (diff)
[imp] js things
bzr revid: rlo@openerp.com-20120227161413-ie6cn7rwoezhht6v
Diffstat (limited to 'addons/google_docs')
-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 11690f70e2a..6ef889e3fa0 100644
--- a/addons/google_docs/static/src/js/gdocs.js
+++ b/addons/google_docs/static/src/js/gdocs.js
@@ -5,7 +5,7 @@ console.log('nw')
instance.web.form.SidebarAttachments = instance.web.form.SidebarAttachments.extend({
init: function() {
this._super.apply(this, arguments);
- this.$element.delegate('.oe_google_docs_button', 'click', self.on_add_gdoc);
+ this.$element.delegate('.oe_google_docs_button', 'click', this.on_add_gdoc);
},
on_add_gdoc: function() {
var self = this;