From 01abb0f2543fd18bf65c8d30e05e07297fc41ebe Mon Sep 17 00:00:00 2001 From: Vincent Schippefilt Date: Wed, 26 Sep 2018 15:36:32 +0200 Subject: [PATCH] [FIX] web: focus the buttons in warning dialogs --- addons/web/static/src/js/chrome/abstract_web_client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }