summaryrefslogtreecommitdiff
path: root/addons/project/data/project_data.xml
diff options
context:
space:
mode:
authorNicolas Lempereur <nle@odoo.com>2019-03-25 16:44:32 +0000
committerNicolas Lempereur <nle@odoo.com>2019-03-25 16:58:06 +0000
commit5838e47ab504340abc00ade9b8a18289aba1c03a (patch)
tree950720c5c3d666f2044f1e700093d8002d1882cb /addons/project/data/project_data.xml
parente9068c290b3ca16e5e2ac9c2e30d824c7a655b62 (diff)
[FIX] web: modal in modal => no block mobile
On a form view: - we open a modal form view - in this modal we open a modal form view - we close that second modal => the modal is closed and the first one is still opened, but on mobile we can't scroll to above or below the modal. This is because bootstrap remove .modal-open class on body when we close the second modal, but this class is necessary to scroll (this is not much an issue on desktop since scroll is often not necessary). We already had a fix that was weakened in 02a063fd73. With this changeset, we keep .modal-open as long as a modal is opened. Without the change, added test failed with: 10. Modal is said opened (expected: true, result: false) opw-1948423 closes #32106 Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
Diffstat (limited to 'addons/project/data/project_data.xml')
0 files changed, 0 insertions, 0 deletions