[FIX] web: destroy modal on cross click or escape
authorDenis Ledoux <dle@odoo.com>
Thu, 9 Oct 2014 14:28:25 +0000 (16:28 +0200)
committerDenis Ledoux <dle@odoo.com>
Thu, 9 Oct 2014 14:31:17 +0000 (16:31 +0200)
commitc1d48362d3a38606ffb99d569fdc6147dcd0c775
treee221e475355e7207a14f1583eb0ef771828a9e3a
parentbc59cfce618a974600dec384b6c41ee0b186feed
[FIX] web: destroy modal on cross click or escape

Instead of just hidding it
Otherwise, when opening a new dialog, it is considered that there is a previous opened dialog, and this can lead to refresh the record which opened the hidden/previous dialog

This is related to rev. 57b48602fb7afa5d0539e8d0caa8d1e10c3910e5
addons/web/static/src/js/chrome.js