[IMP] web: trigger closing for popup

bzr revid: chm@openerp.com-20121106125206-icm2s8fvb13m40w9
This commit is contained in:
Christophe Matthieu 2012-11-06 13:52:06 +01:00
parent d3e5d953b1
commit af2c38f4c9
1 changed files with 1 additions and 0 deletions

View File

@ -4427,6 +4427,7 @@ instance.web.form.AbstractFormPopup = instance.web.Widget.extend({
this.destroy();
},
destroy: function () {
this.trigger('closing');
this.$el.dialog('close');
this._super();
},