summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorniv-openerp <nicolas.vanhoren@openerp.com>2013-04-24 09:46:38 +0200
committerniv-openerp <nicolas.vanhoren@openerp.com>2013-04-24 09:46:38 +0200
commite6902869edf7f45f403fccdea985a0b9b066e65e (patch)
treefb938b7c87663fe4d090e576509b1883a3bc60f3
parent26e488f2fbe3a5915e650668ff81c3f750031186 (diff)
[FIX] pad: regression that caused a stack trace
bzr revid: nicolas.vanhoren@openerp.com-20130424074638-aq3o08v7z9j1asz0
-rw-r--r--addons/pad/static/src/js/pad.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/pad/static/src/js/pad.js b/addons/pad/static/src/js/pad.js
index 1a2de41745b..ba5ee3a3037 100644
--- a/addons/pad/static/src/js/pad.js
+++ b/addons/pad/static/src/js/pad.js
@@ -9,6 +9,7 @@ openerp.pad = function(instance) {
this.on("change:configured", this, this.switch_configured);
},
initialize_content: function() {
+ var self = this;
this.switch_configured();
this.$('.oe_pad_switch').click(function() {
self.$el.toggleClass('oe_pad_fullscreen');