diff options
| author | Vincent Schippefilt <vsc@odoo.com> | 2018-09-26 15:36:32 +0200 |
|---|---|---|
| committer | Vincent Schippefilt <vsc@odoo.com> | 2018-09-26 16:18:41 +0200 |
| commit | 01abb0f2543fd18bf65c8d30e05e07297fc41ebe (patch) | |
| tree | fee910521e23cd2c1d4bc31c0a98827cb2017e10 /addons | |
| parent | eeed14c2a35667d086ca86642684aab4bdd48b81 (diff) | |
[FIX] web: focus the buttons in warning dialogs
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/web/static/src/js/chrome/abstract_web_client.js | 2 |
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); } |
