diff options
| author | niv-openerp <nicolas.vanhoren@openerp.com> | 2013-04-24 09:46:38 +0200 |
|---|---|---|
| committer | niv-openerp <nicolas.vanhoren@openerp.com> | 2013-04-24 09:46:38 +0200 |
| commit | e6902869edf7f45f403fccdea985a0b9b066e65e (patch) | |
| tree | fb938b7c87663fe4d090e576509b1883a3bc60f3 /addons/pad/static/src | |
| parent | 26e488f2fbe3a5915e650668ff81c3f750031186 (diff) | |
[FIX] pad: regression that caused a stack trace
bzr revid: nicolas.vanhoren@openerp.com-20130424074638-aq3o08v7z9j1asz0
Diffstat (limited to 'addons/pad/static/src')
| -rw-r--r-- | addons/pad/static/src/js/pad.js | 1 |
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'); |
