diff options
| author | Thanh Dodeur <tso@odoo.com> | 2020-01-17 07:38:36 +0000 |
|---|---|---|
| committer | Thanh Dodeur <tso@odoo.com> | 2020-01-17 10:11:27 +0000 |
| commit | e2a8ee3aa11633e7943f70bcbb9b68d8d7fb5a48 (patch) | |
| tree | 72aca62cd0cb3fe39b668d6dc40de7c1f558cccc /addons/mail/static/src/xml | |
| parent | 2d2b65ae8a67ba3e8d631bd0d711644823c4a19c (diff) | |
[FIX] mail: restores the documentViewer modal
Revision on
https://github.com/odoo/odoo/commit/34bbdd88c0bc354b76b254bb78c4eb786f3d08c0#diff-9da02f8f30ea349fbc4b9884c2b77b78
The document viewer did not work properly because, by default, dialogs are non-active,
so most interactions were not possible (just pressing ESC to close the dialog worked).
The correct fix consists of using OwlDialog for DocumentViewer,
but that's basically close to a re-writing, so in the meantime marking it as always active is fine.
closes odoo/odoo#43446
Task: 2177011
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Diffstat (limited to 'addons/mail/static/src/xml')
| -rw-r--r-- | addons/mail/static/src/xml/thread.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/static/src/xml/thread.xml b/addons/mail/static/src/xml/thread.xml index 31614cf4f4f..4febfcca11f 100644 --- a/addons/mail/static/src/xml/thread.xml +++ b/addons/mail/static/src/xml/thread.xml @@ -87,7 +87,7 @@ @param {mail.DocumentViewer} widget --> <t t-name="DocumentViewer"> - <div class="modal o_modal_fullscreen" tabindex="-1" data-keyboard="false" role="dialog"> + <div class="modal o_modal_fullscreen o_active_modal" tabindex="-1" data-keyboard="false" role="dialog"> <t class="o_document_viewer_content_call" t-call="DocumentViewer.Content"/> <t t-if="widget.attachment.length !== 1"> |
