[FIX] pad: regression that caused a stack trace
bzr revid: nicolas.vanhoren@openerp.com-20130424074638-aq3o08v7z9j1asz0
This commit is contained in:
parent
26e488f2fb
commit
e6902869ed
|
@ -9,6 +9,7 @@ openerp.pad = function(instance) {
|
||||||
this.on("change:configured", this, this.switch_configured);
|
this.on("change:configured", this, this.switch_configured);
|
||||||
},
|
},
|
||||||
initialize_content: function() {
|
initialize_content: function() {
|
||||||
|
var self = this;
|
||||||
this.switch_configured();
|
this.switch_configured();
|
||||||
this.$('.oe_pad_switch').click(function() {
|
this.$('.oe_pad_switch').click(function() {
|
||||||
self.$el.toggleClass('oe_pad_fullscreen');
|
self.$el.toggleClass('oe_pad_fullscreen');
|
||||||
|
|
Loading…
Reference in New Issue