summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorVincent Schippefilt <vsc@odoo.com>2018-09-26 15:36:32 +0200
committerVincent Schippefilt <vsc@odoo.com>2018-09-26 16:18:41 +0200
commit01abb0f2543fd18bf65c8d30e05e07297fc41ebe (patch)
treefee910521e23cd2c1d4bc31c0a98827cb2017e10 /addons/web/static/src
parenteeed14c2a35667d086ca86642684aab4bdd48b81 (diff)
[FIX] web: focus the buttons in warning dialogs
Diffstat (limited to 'addons/web/static/src')
-rw-r--r--addons/web/static/src/js/chrome/abstract_web_client.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/chrome/abstract_web_client.js b/addons/web/static/src/js/chrome/abstract_web_client.js
index 68f35f272da..d23bbeb237f 100644
--- a/addons/web/static/src/js/chrome/abstract_web_client.js
+++ b/addons/web/static/src/js/chrome/abstract_web_client.js
@@ -382,7 +382,7 @@ var AbstractWebClient = Widget.extend(ServiceProviderMixin, KeyboardNavigationMi
size: 'medium',
title: data.title,
$content: qweb.render("CrashManager.warning", data),
- }).open();
+ }).open({shouldFocusButtons: true});
} else {
this.call('notification', 'notify', e.data);
}