From e6902869edf7f45f403fccdea985a0b9b066e65e Mon Sep 17 00:00:00 2001 From: niv-openerp Date: Wed, 24 Apr 2013 09:46:38 +0200 Subject: [PATCH] [FIX] pad: regression that caused a stack trace bzr revid: nicolas.vanhoren@openerp.com-20130424074638-aq3o08v7z9j1asz0 --- addons/pad/static/src/js/pad.js | 1 + 1 file changed, 1 insertion(+) 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');