summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorJulien Mougenot <jum@odoo.com>2020-01-10 12:17:50 +0000
committerJulien Mougenot <jum@odoo.com>2020-01-10 12:48:41 +0000
commit1d58b760326712bd9d778b196829149896a0882e (patch)
tree46f590ec154f1bf8edd684ffc14d495976d5739a /addons/web/static/src/js/views/basic/basic_controller.js
parent2f3e6e9ea8e8f747f7f5f9210ddc6d147863f40f (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/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions