diff options
| author | Akash Bhavsar <abh@odoo.com> | 2018-05-03 23:16:56 +1000 |
|---|---|---|
| committer | VincentSchippefilt <vincent.schippefilt@gmail.com> | 2018-05-03 15:16:56 +0200 |
| commit | 8b7fb9a764143946c21548fb4475156238294e0f (patch) | |
| tree | d310c52f68c8d5e0d1d39e93b6711bccb1e39b15 /addons/mail/static/src/xml/thread.xml | |
| parent | cce6030c0da77a5739af01d57cd53822fc3ab394 (diff) | |
[FIX] mail: Do not close chat widnow if ESCAPE key is pressed on document viewer and keep focus on chat window input when document viewer is closed (#22741)
If document viewer is opened from chat window and when document viewer is opened then focus
remains on it's modal, pressing escape should set focus back to chat window's input element,
if file selecor dialog is opened and if user press ESCAPE on file selector dialog to cancel file selector
dialog then it should not close chat window instead it should set focus on chat window input and on
second ESCAPE key chat window should be closed
also increase z-index of document viewer dialog so image remain on top of cht window
OPW: 1777937
Diffstat (limited to 'addons/mail/static/src/xml/thread.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 9a707693ce0..180eac17b48 100644 --- a/addons/mail/static/src/xml/thread.xml +++ b/addons/mail/static/src/xml/thread.xml @@ -76,7 +76,7 @@ </t> <t t-name="DocumentViewer"> - <div class="modal o_modal_fullscreen" tabindex="-1" role="dialog" aria-hidden="true"> + <div class="modal o_modal_fullscreen" tabindex="-1" data-keyboard="false" role="dialog" aria-hidden="true"> <t t-call="DocumentViewer.Content"/> <t t-if="widget.attachment.length != 1"> |
