Merge #16807 - Fix #16805 - shortcut keys not working

Pull-request: #16807
Fixes: #16805

Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
William Desportes 2021-04-13 17:39:42 +02:00
commit a4482fbb70
No known key found for this signature in database
GPG Key ID: 90A0EF1B8251A889

View File

@ -78,13 +78,13 @@ $(function () {
isTable = CommonParams.get('table');
isDb = CommonParams.get('db');
if (isDb && ! isTable) {
$('.tab .ic_b_props').first().trigger('click');
$('.nav-link .ic_b_props').first().trigger('click');
}
} else if (tableOp === true) {
isTable = CommonParams.get('table');
isDb = CommonParams.get('db');
if (isDb && isTable) {
$('.tab .ic_b_props').first().trigger('click');
$('.nav-link .ic_b_props').first().trigger('click');
}
} else {
$('#pma_navigation_settings_icon').trigger('click');
@ -94,13 +94,13 @@ $(function () {
isTable = CommonParams.get('table');
isDb = CommonParams.get('db');
if (isDb && ! isTable) {
$('.tab .ic_b_search').first().trigger('click');
$('.nav-link .ic_b_search').first().trigger('click');
}
} else if (tableOp === true) {
isTable = CommonParams.get('table');
isDb = CommonParams.get('db');
if (isDb && isTable) {
$('.tab .ic_b_search').first().trigger('click');
$('.nav-link .ic_b_search').first().trigger('click');
}
}
} else if (e.keyCode === keyT) {