diff options
| author | Julien Mougenot <jum@odoo.com> | 2020-01-10 12:17:50 +0000 |
|---|---|---|
| committer | Julien Mougenot <jum@odoo.com> | 2020-01-10 12:48:41 +0000 |
| commit | 1d58b760326712bd9d778b196829149896a0882e (patch) | |
| tree | 46f590ec154f1bf8edd684ffc14d495976d5739a /addons/web/static/src/js/fields/basic_fields.js | |
| parent | 2f3e6e9ea8e8f747f7f5f9210ddc6d147863f40f (diff) | |
[FIX] web: correctly handle display/hide of dialogs
Before this commit: all dialogs would go through the static method (OwlDialog.hide)
when destroyed, regardless of wether they had been opened or not.
Now, only dialogs having an 'el' property set (= having been opened) will use
the 'hide' method.
Task 2170705
closes odoo/odoo#43124
Signed-off-by: Lucas Perais (lpe) <lpe@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
