From b1ef0001f61d29fc3d3be384422c0fb35a09806f Mon Sep 17 00:00:00 2001 From: Aaron Bohy Date: Thu, 6 Dec 2018 14:41:33 +0000 Subject: [REF] *: adapt all client actions to ControlPanel/Search view refactoring. The ControlPanel being now inside the DOM of client actions, those existing widgets needed to be adapted (in the way they define if and how they want a ControlPanel, and in the way the manipulate their DOM as it slightly changed). Tests needed to be adapted as well. Part of task 1893568 Co-authored-by: Mathieu Duckerts-Antoine Co-authored-by: Martin Geubelle --- addons/mail/static/tests/thread_window/basic_thread_window_tests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addons/mail/static/tests/thread_window/basic_thread_window_tests.js') diff --git a/addons/mail/static/tests/thread_window/basic_thread_window_tests.js b/addons/mail/static/tests/thread_window/basic_thread_window_tests.js index c44df3e8e91..3fc942b506f 100644 --- a/addons/mail/static/tests/thread_window/basic_thread_window_tests.js +++ b/addons/mail/static/tests/thread_window/basic_thread_window_tests.js @@ -493,7 +493,7 @@ QUnit.test('do not autofocus chat window on receiving new direct message', funct } }); - var $formInput = form.$('input'); + var $formInput = form.$('input[name=display_name]'); $formInput.focus(); assert.equal(document.activeElement, $formInput[0], -- cgit v1.2.3