Search also for select tag for the focus chain

Closes #12051
(grafted from 93ea98d89723ccef930e856981a9534face1e807)

--HG--
branch : 6.0
This commit is contained in:
Cédric Krier committed 2023-01-30 00:44:18 +01:00
1 parent f2b248fa6c
commit 60a94f46d6
1 file changed
+1 -1
+1 -1
View File
@@ -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);