[FIX] Better fix than Revision: 3338 revid:fme@openerp.com-20121106094244-oybwglprd1v3g5xn
bzr revid: fme@openerp.com-20121106134145-uzijdxde2otoxdfy
This commit is contained in:
parent
dc0fe27bdc
commit
d221165c59
|
@ -4414,6 +4414,12 @@ instance.web.form.AbstractFormPopup = instance.web.Widget.extend({
|
|||
this.trigger('closed');
|
||||
this.destroy();
|
||||
},
|
||||
destroy: function () {
|
||||
if (this.$el.is(":data(dialog)")) {
|
||||
this.$el.dialog('close');
|
||||
}
|
||||
this._super();
|
||||
},
|
||||
});
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue