diff options
| author | Thibault Delavallée <tde@openerp.com> | 2012-11-06 17:16:03 +0100 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2012-11-06 17:16:03 +0100 |
| commit | 025167e4fc2b8f2805f2e4bac079f75c8a34afcc (patch) | |
| tree | fa43ccc459f7413eaa139740442768ca6bf21f18 | |
| parent | a81017845d22bfefed19a04731df1701995b59f0 (diff) | |
| parent | a006b078ed4fa9fa668ee3a4b25b926e56e1b09a (diff) | |
[MERGE] Introducing the Many2Many Email Widget, based on Many2Many Tags. This widget designed for many2many fields on partners checks that partners added in the widget have an email address defined; if not, a popup is opened to enter an email.
The widget is defined in the mail addons module, but this web-side revision adds a trigger when destroying a popup, because this event is used in the widget.
bzr revid: tde@openerp.com-20121106161603-gybjhsjavwe5bgd2
| -rw-r--r-- | addons/web/static/src/js/view_form.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/web/static/src/js/view_form.js b/addons/web/static/src/js/view_form.js index 07c237ae0d8..6a853c4bef9 100644 --- a/addons/web/static/src/js/view_form.js +++ b/addons/web/static/src/js/view_form.js @@ -4420,6 +4420,7 @@ instance.web.form.AbstractFormPopup = instance.web.Widget.extend({ this.destroy(); }, destroy: function () { + this.trigger('closed'); this.$el.dialog('close'); this._super(); }, |
