From 60a94f46d64c48ac8ffb04093b9b18752cb77e49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 30 Jan 2023 00:44:18 +0100 Subject: [PATCH] Search also for select tag for the focus chain Closes #12051 (grafted from 93ea98d89723ccef930e856981a9534face1e807) --HG-- branch : 6.0 --- sao/src/common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sao/src/common.js b/sao/src/common.js index 4abc3f0610..9fbae9b36c 100644 --- a/sao/src/common.js +++ b/sao/src/common.js @@ -3716,7 +3716,7 @@ }); Sao.common.get_focus_chain = function(element) { - var elements = element.find('input', 'textarea'); + var elements = element.find('input,select,textarea'); elements.sort(function(a, b) { if (('tabindex' in a.attributes) && ('tabindex' in b.attributes)) { var a_tabindex = parseInt(a.attributes.tabindex.value);