[FIX] object may or may not have been started when destroy is run
bzr revid: xmo@openerp.com-20120726144420-7coh354993kj546a
This commit is contained in:
parent
3e4262266f
commit
9cde11f63d
|
@ -88,7 +88,9 @@ instance.web.FormView = instance.web.View.extend(instance.web.form.FieldManagerM
|
|||
w.off('focused blurred');
|
||||
w.destroy();
|
||||
});
|
||||
this.$element.off('.formBlur');
|
||||
if (this.$element) {
|
||||
this.$element.off('.formBlur');
|
||||
}
|
||||
this._super();
|
||||
},
|
||||
on_loaded: function(data) {
|
||||
|
|
Loading…
Reference in New Issue